summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/functions.js b/functions.js
index 3d3b34b38..b41cd73ab 100644
--- a/functions.js
+++ b/functions.js
@@ -209,7 +209,10 @@ function hotkey_handler(e) {
}
- if (!hotkeys_enabled) return;
+ if (!hotkeys_enabled) {
+ debug("hotkeys disabled");
+ return;
+ }
if (window.event) {
keycode = window.event.keyCode;