Skip to content

Commit

Permalink
AltKeysPopup: Do not unbind all events after init. Fixes #460
Browse files Browse the repository at this point in the history
  • Loading branch information
Mottie committed Sep 30, 2016
1 parent f064b16 commit 9607bd7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/jquery.keyboard.extension-altkeyspopup.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,8 @@

base.altkeypopup_blockingFlag = false;
base.$preview
.unbind( namespace )
.unbind( 'keypress keydown keyup'.split( ' ' ).join( namespace + ' ' ) )
.bind( 'keypress keydown keyup'.split( ' ' ).join( namespace + ' ' ), function( event ) {

if ( event.type === 'keyup' ) {
clearTimeout( timer );
base.altkeypopup_blockingFlag = false;
Expand Down

0 comments on commit 9607bd7

Please sign in to comment.