Disabled native event triggering (and, thus, bubbling) for global events.
This commit is contained in:
parent
c03a280155
commit
77477d5634
|
@ -178,7 +178,7 @@ jQuery.event = {
|
||||||
if ( this.global[type] )
|
if ( this.global[type] )
|
||||||
jQuery.each( jQuery.cache, function(){
|
jQuery.each( jQuery.cache, function(){
|
||||||
if ( this.events && this.events[type] )
|
if ( this.events && this.events[type] )
|
||||||
jQuery.event.trigger( type, data, this.handle.elem );
|
jQuery.event.trigger( type, data, this.handle.elem, false );
|
||||||
});
|
});
|
||||||
|
|
||||||
// Handle triggering a single element
|
// Handle triggering a single element
|
||||||
|
|
Loading…
Reference in a new issue