Checking in a fix for issue 48

This commit is contained in:
houseofyin 2013-03-21 13:54:39 -04:00
parent 12e1ad1576
commit 325bae2b6f

View File

@ -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;