summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/js/input/hotkey-handler.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/js/input/hotkey-handler.js b/ext/js/input/hotkey-handler.js
index 6db3e0f0..f0e44426 100644
--- a/ext/js/input/hotkey-handler.js
+++ b/ext/js/input/hotkey-handler.js
@@ -173,8 +173,7 @@ class HotkeyHandler extends EventDispatcher {
const hotkeyInfo = this._hotkeys.get(key);
if (typeof hotkeyInfo !== 'undefined') {
const eventModifiers = DocumentUtil.getActiveModifiers(e);
- const canForward = (this._forwardFrameId !== null);
- if (this._invokeHandlers(key, eventModifiers, hotkeyInfo, canForward)) {
+ if (this._invokeHandlers(key, eventModifiers, hotkeyInfo, false)) {
e.preventDefault();
return;
}