diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-02-16 21:19:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 21:19:43 -0500 |
commit | 6fc5eb2ae1f367a5409ecf8b961e2987ee069ee9 (patch) | |
tree | 54df74b1d2d1b5de81784416a8dcae4acf6598ce /ext/js/input | |
parent | 3a86601c881f91f9d9cb87bd2967cf693218a108 (diff) |
Fix copy hotkey not working (#1411)
Diffstat (limited to 'ext/js/input')
-rw-r--r-- | ext/js/input/hotkey-handler.js | 3 |
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; } |