From 325bae2b6f0811e2a2467ac33d7a7115c6f01e60 Mon Sep 17 00:00:00 2001 From: houseofyin Date: Thu, 21 Mar 2013 13:54:39 -0400 Subject: [PATCH] Checking in a fix for issue 48 --- src/eventhandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;