Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update event order

  • Loading branch information...
commit c60f1e3bdd735d7248d269bdba3d6a71f10785c7 1 parent 0414266
@ccampbell authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mousetrap.js
View
2  mousetrap.js
@@ -692,9 +692,9 @@ window.Mousetrap = (function() {
}
// start!
+ _addEvent(document, 'keypress', _handleKey);
_addEvent(document, 'keydown', _handleKey);
_addEvent(document, 'keyup', _handleKey);
- _addEvent(document, 'keypress', _handleKey);
return {
Please sign in to comment.
Something went wrong with that request. Please try again.