diff --git a/src/eventhandler.js b/src/eventhandler.js index 2635e86a..0ff0c455 100644 --- a/src/eventhandler.js +++ b/src/eventhandler.js @@ -48,7 +48,7 @@ $.EventHandler.prototype = { if( $.isArray( events ) ){ for( i = 0; i < events.length; i++ ){ if( events[ i ] !== handler ){ - handlers.push( handler ); + handlers.push( events[ i ] ); } } this.events[ eventName ] = handlers;