From 6fc5eb2ae1f367a5409ecf8b961e2987ee069ee9 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Tue, 16 Feb 2021 21:19:43 -0500 Subject: [PATCH] Fix copy hotkey not working (#1411) --- ext/js/input/hotkey-handler.js | 3 +-- 1 file changed, 1 insertion(+), 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; }