aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/controls.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/controls.js')
-rw-r--r--src/js/controls.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/js/controls.js b/src/js/controls.js
index 4ee4c572..1abb8263 100644
--- a/src/js/controls.js
+++ b/src/js/controls.js
@@ -448,6 +448,8 @@ const controls = {
},
// Bind keyboard shortcuts for a menu item
+ // We have to bind to keyup otherwise Firefox triggers a click when a keydown event handler shifts focus
+ // https://bugzilla.mozilla.org/show_bug.cgi?id=1220143
bindMenuItemShortcuts(menuItem, type) {
// Handle space or -> to open menu
on(