mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 21:26:10 +03:00
Checking in a fix for issue 48
This commit is contained in:
parent
12e1ad1576
commit
325bae2b6f
@ -48,7 +48,7 @@ $.EventHandler.prototype = {
|
|||||||
if( $.isArray( events ) ){
|
if( $.isArray( events ) ){
|
||||||
for( i = 0; i < events.length; i++ ){
|
for( i = 0; i < events.length; i++ ){
|
||||||
if( events[ i ] !== handler ){
|
if( events[ i ] !== handler ){
|
||||||
handlers.push( handler );
|
handlers.push( events[ i ] );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.events[ eventName ] = handlers;
|
this.events[ eventName ] = handlers;
|
||||||
|
Loading…
Reference in New Issue
Block a user