Disabled native event triggering (and, thus, bubbling) for global events.

This commit is contained in:
John Resig 2008-12-22 14:47:34 +00:00
parent c03a280155
commit 77477d5634

View File

@ -178,7 +178,7 @@ jQuery.event = {
if ( this.global[type] )
jQuery.each( jQuery.cache, function(){
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