From c2d68612ec9f75e05b29c5a97a63ae53243a717b Mon Sep 17 00:00:00 2001 From: narcolepticinsomniac Date: Mon, 27 Nov 2017 23:10:32 -0500 Subject: [PATCH] Common selector for non-traditional checkbox inputs --- manage/config-dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage/config-dialog.js b/manage/config-dialog.js index 3b3c85e1..ebb9dbe0 100644 --- a/manage/config-dialog.js +++ b/manage/config-dialog.js @@ -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));