Skip to content

Commit

Permalink
Filterable: Remove all handlers when detaching input
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed Dec 3, 2014
1 parent 8ed545b commit 0ec44ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/widgets/filterable.js
Expand Up @@ -154,7 +154,7 @@ $.widget( "mobile.filterable", {
}

if ( search ) {
this._off( search, "keyup change input" );
this._off( search, "keyup keydown keypress change input" );
search = null;
}

Expand Down

0 comments on commit 0ec44ff

Please sign in to comment.