Commit cbda6c54 authored by Brandon Aaron's avatar Brandon Aaron

fix global event triggering that i broke in r6323

parent 96fd5f18
......@@ -214,11 +214,11 @@ jQuery.event = {
event.stopPropagation();
// Only trigger if we've ever bound an event for it
if ( this.global[ type ] ) {
for ( var cached in jQuery.cache ) {
if ( cached.events && cached.events[ type ] ) {
this.trigger( event, data, cached.handle.elem );
jQuery.each( jQuery.cache, function() {
if ( this.events && this.events[type] ) {
jQuery.event.trigger( event, data, this.handle.elem );
}
}
});
}
}
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment