summaryrefslogtreecommitdiff
path: root/js/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-05 09:11:12 +0300
committerAndrew Dolgov <[email protected]>2018-12-05 09:11:12 +0300
commit85adef06f47da40347efc499caedf14c65f3de6c (patch)
tree9402151d9acec61761aca94575044dac6315b75a /js/prefs.js
parentedd348b16c6194048a576c59a9f3350515cb8136 (diff)
onkeydown handlers: fix default keyboard events not being blocked if necessary
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 c89c0494f..afbdee0c9 100755
--- a/js/prefs.js
+++ b/js/prefs.js
@@ -76,7 +76,7 @@ require(["dojo/_base/kernel",
initSecondStage: function() {
this.enableCsrfSupport();
- document.onkeydown = (event) => { App.hotkeyHandler(event) };
+ document.onkeydown = (event) => { return App.hotkeyHandler(event) };
App.setLoadingProgress(50);
Notify.close();