summaryrefslogtreecommitdiff
path: root/ext/mixed/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mixed/js')
-rw-r--r--ext/mixed/js/hotkey-handler.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/mixed/js/hotkey-handler.js b/ext/mixed/js/hotkey-handler.js
index 423410b7..33d9942c 100644
--- a/ext/mixed/js/hotkey-handler.js
+++ b/ext/mixed/js/hotkey-handler.js
@@ -174,8 +174,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;
}