From fdc65595097ce43976b6625551e676ebe39408bc Mon Sep 17 00:00:00 2001 From: Quentin Decaunes Date: Fri, 7 Jun 2019 19:40:07 +0200 Subject: [PATCH] Fixed unable to uncheck options when loading presets. --- js/methods.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/methods.js b/js/methods.js index 3e36bcb..f82c2cc 100644 --- a/js/methods.js +++ b/js/methods.js @@ -447,6 +447,9 @@ function getCurrentSettings(keyType) { inputs.forEach(element => { let id = element.id; let value = element.value; + if (id.indexOf('apply_') === 0) { + value = element.checked; + } currentSettings[id] = value; }); return currentSettings;