]> source.dussan.org Git - jquery.git/commitdiff
Disabled native event triggering (and, thus, bubbling) for global events.
authorJohn Resig <jeresig@gmail.com>
Mon, 22 Dec 2008 14:47:34 +0000 (14:47 +0000)
committerJohn Resig <jeresig@gmail.com>
Mon, 22 Dec 2008 14:47:34 +0000 (14:47 +0000)
src/event.js

index 73a6eacc8afc64b237a913d71cbc2cefeede7a98..ed22985f07c070ee742e0276c4d010d778a6c75c 100644 (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