Skip to content

Commit

Permalink
Revert "ignore Alt + <k> for Firefox"
Browse files Browse the repository at this point in the history
  • Loading branch information
ccampbell authored Mar 28, 2019
1 parent b5b423f commit 48ba501
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mousetrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,8 +575,8 @@
//
// chrome will not fire a keypress if meta or control is down
// safari will fire a keypress if meta or meta+shift is down
// firefox will fire a keypress if meta, alt or control is down
if ((action == 'keypress' && !e.metaKey && !e.altKey && !e.ctrlKey) || _modifiersMatch(modifiers, callback.modifiers)) {
// firefox will fire a keypress if meta or control is down
if ((action == 'keypress' && !e.metaKey && !e.ctrlKey) || _modifiersMatch(modifiers, callback.modifiers)) {

// when you bind a combination or sequence a second time it
// should overwrite the first one. if a sequenceName or
Expand Down

0 comments on commit 48ba501

Please sign in to comment.