From 0eaeb525733a36d9e721ec4d9cf3b744b527bfcf Mon Sep 17 00:00:00 2001 From: fichtennadel Date: Fri, 17 Nov 2017 23:43:40 +0100 Subject: [PATCH] fix save button im Tampermonkey fix https://github.com/odyniec/MonkeyConfig/issues/3 --- monkeyconfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkeyconfig.js b/monkeyconfig.js index 4676ae9..08965df 100755 --- a/monkeyconfig.js +++ b/monkeyconfig.js @@ -252,7 +252,7 @@ function MonkeyConfig() { * Save button click event handler */ function saveClick() { - for (name in params) { + for (var name in params) { switch (params[name].type) { case 'checkbox': var elem = container.querySelector('[name="' + name + '"]');