From 3009ecc44f4a2cebe0d918f6a993ce0cab0fbe81 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 8 Mar 2018 18:33:42 +0300 Subject: initial for JS strict mode --- js/prefs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/prefs.js') diff --git a/js/prefs.js b/js/prefs.js index a3f32dcbc..aa06674df 100755 --- a/js/prefs.js +++ b/js/prefs.js @@ -939,7 +939,7 @@ function pref_hotkey_handler(e) { var hotkey_action = false; var hotkeys = getInitParam("hotkeys"); - for (sequence in hotkeys[1]) { + for (var sequence in hotkeys[1]) { if (sequence == hotkey) { hotkey_action = hotkeys[1][sequence]; break; -- cgit v1.2.3