mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
use configured css class name for input_radio
This commit is contained in:
parent
0da946b4f9
commit
be3311ab2d
@ -38,6 +38,7 @@ var CSS_CLASS_NAMES = {
|
|||||||
page_data : '@CSS_PAGE_DATA_CN@',
|
page_data : '@CSS_PAGE_DATA_CN@',
|
||||||
background_image : '@CSS_BACKGROUND_IMAGE_CN@',
|
background_image : '@CSS_BACKGROUND_IMAGE_CN@',
|
||||||
link : '@CSS_LINK_CN@',
|
link : '@CSS_LINK_CN@',
|
||||||
|
input_radio : '@CSS_INPUT_RADIO_CN@',
|
||||||
__dummy__ : 'no comma'
|
__dummy__ : 'no comma'
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -261,7 +262,7 @@ Viewer.prototype = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
initialize_radio_button : function() {
|
initialize_radio_button : function() {
|
||||||
var elements = document.getElementsByClassName('ir');
|
var elements = document.getElementsByClassName(CSS_CLASS_NAMES.input_radio);
|
||||||
|
|
||||||
for(var i = 0; i < elements.length; i++) {
|
for(var i = 0; i < elements.length; i++) {
|
||||||
var r = elements[i];
|
var r = elements[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user