Use .on('event', handler) pattern instead of .event(handler)
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
|
||||
listen: function () {
|
||||
|
||||
this.$element.keydown( $.proxy( this.keypress, this ) );
|
||||
this.$element.on( 'keydown', $.proxy( this.keypress, this ) );
|
||||
|
||||
if ( this.$clear.length ) {
|
||||
this.$clear.on( 'click', $.proxy( this.clear, this ) );
|
||||
|
||||
Reference in New Issue
Block a user