Common selector for non-traditional checkbox inputs
This commit is contained in:
parent
1f0d6fb4e9
commit
c2d68612ec
|
@ -105,7 +105,7 @@ function configDialog(style) {
|
|||
break;
|
||||
|
||||
case 'checkbox':
|
||||
va.input = $element({tag: 'input', type: 'checkbox'});
|
||||
va.input = $element({tag: 'input', type: 'checkbox', className: 'slider'});
|
||||
va.input.onchange = () => {
|
||||
va.dirty = true;
|
||||
va.value = String(Number(va.input.checked));
|
||||
|
|
Loading…
Reference in New Issue
Block a user