summaryrefslogtreecommitdiff
path: root/js/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-01 21:01:53 +0300
committerAndrew Dolgov <[email protected]>2018-12-01 21:01:53 +0300
commit642c37ea6117954fc19e2a800f2fce4c1304d89d (patch)
treebfe5e86b69f74345f900bcdeff2acb72c36b192c /js/prefs.js
parent4bed9be57d671324921bfd1d90d25b8cd0af3d4f (diff)
further effocts to wrap JS stuff into objects
Diffstat (limited to 'js/prefs.js')
-rwxr-xr-xjs/prefs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/prefs.js b/js/prefs.js
index e83e69bd5..a9417cf3c 100755
--- a/js/prefs.js
+++ b/js/prefs.js
@@ -86,7 +86,7 @@ const App = {
}, 100);
}
- setInterval(hotkeyPrefixTimeout, 5 * 1000);
+ setInterval(() => { hotkeyPrefixTimeout() }, 5 * 1000);
},
hotkeyHandler: function (event) {
if (event.target.nodeName == "INPUT" || event.target.nodeName == "TEXTAREA") return;