diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2011-10-23 23:03:00 -0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2011-10-24 11:18:19 -0400 |
commit | 560c33b395ec809cc296c97cab41244949ec863c (patch) | |
tree | 50b79e21043f3b7602bf6db86f8c3ed4ccab2d43 /src/event.js | |
parent | 4ac6f8d9d322c7e468ed0d58e402abe7bdca354d (diff) | |
download | jquery-560c33b395ec809cc296c97cab41244949ec863c.tar.gz jquery-560c33b395ec809cc296c97cab41244949ec863c.zip |
Stop global event bubbling using onlyHandlers flag.
Diffstat (limited to 'src/event.js')
-rw-r--r-- | src/event.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/event.js b/src/event.js index 64cfda530..488d3bae9 100644 --- a/src/event.js +++ b/src/event.js @@ -300,10 +300,9 @@ jQuery.event = { // TODO: Stop taunting the data cache; remove global events and always attach to document cache = jQuery.cache; - event.stopPropagation(); for ( i in cache ) { if ( cache[ i ].events && cache[ i ].events[ type ] ) { - jQuery.event.trigger( event, data, cache[ i ].handle.elem ); + jQuery.event.trigger( event, data, cache[ i ].handle.elem, true ); } } return; |