summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/mixed/js/hotkey-handler.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mixed/js/hotkey-handler.js b/ext/mixed/js/hotkey-handler.js
index 01c33f5d..ef04ea0d 100644
--- a/ext/mixed/js/hotkey-handler.js
+++ b/ext/mixed/js/hotkey-handler.js
@@ -86,6 +86,7 @@ class HotkeyHandler extends EventDispatcher {
for (const {action, key, modifiers, scopes, enabled} of hotkeys) {
if (
enabled &&
+ key !== null &&
action !== '' &&
scopes.includes(this._scope)
) {