]> git.wh0rd.org - tt-rss.git/blobdiff - js/prefs.js
strict js: fix helpDialog
[tt-rss.git] / js / prefs.js
index a3f32dcbc46c12bd6d10fcb87ba1d22339453497..aa06674df485279da5e3021316f595199fd90dd1 100755 (executable)
@@ -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;