summaryrefslogtreecommitdiff
path: root/ext/mixed/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-16 21:19:43 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-16 21:30:32 -0500
commit38a00777570b9a12fc39365af6a2646fb4af451a (patch)
tree675ca1d7912b519884d433c24f23244bd1cfd378 /ext/mixed/js
parent16dec3882ec9f78b5276ee5689530bfa8c3392a3 (diff)
Fix copy hotkey not working (#1411)
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;
}