fix global event triggering that i broke in r6323
This commit is contained in:
parent
96fd5f18d4
commit
cbda6c541b
|
@ -214,11 +214,11 @@ jQuery.event = {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
// Only trigger if we've ever bound an event for it
|
// Only trigger if we've ever bound an event for it
|
||||||
if ( this.global[ type ] ) {
|
if ( this.global[ type ] ) {
|
||||||
for ( var cached in jQuery.cache ) {
|
jQuery.each( jQuery.cache, function() {
|
||||||
if ( cached.events && cached.events[ type ] ) {
|
if ( this.events && this.events[type] ) {
|
||||||
this.trigger( event, data, cached.handle.elem );
|
jQuery.event.trigger( event, data, this.handle.elem );
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue