diff --git a/manage/config-dialog.js b/manage/config-dialog.js index ae3ba42c..b6c13d5e 100644 --- a/manage/config-dialog.js +++ b/manage/config-dialog.js @@ -263,7 +263,7 @@ function configDialog(style) { } function updateVarOnChange() { - this.va.value = this.value; + this.va.value = this.type !== 'checkbox' ? this.value : this.checked ? '1' : '0'; } function updateVarOnInput(event, debounced = false) {