summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-16 21:19:43 -0500
committerGitHub <noreply@github.com>2021-02-16 21:19:43 -0500
commit6fc5eb2ae1f367a5409ecf8b961e2987ee069ee9 (patch)
tree54df74b1d2d1b5de81784416a8dcae4acf6598ce /ext
parent3a86601c881f91f9d9cb87bd2967cf693218a108 (diff)
Fix copy hotkey not working (#1411)
Diffstat (limited to 'ext')
-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;
}