aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2011-10-23 23:03:00 -0400
committerDave Methvin <dave.methvin@gmail.com>2011-10-24 11:18:19 -0400
commit560c33b395ec809cc296c97cab41244949ec863c (patch)
tree50b79e21043f3b7602bf6db86f8c3ed4ccab2d43 /src/event.js
parent4ac6f8d9d322c7e468ed0d58e402abe7bdca354d (diff)
downloadjquery-560c33b395ec809cc296c97cab41244949ec863c.tar.gz
jquery-560c33b395ec809cc296c97cab41244949ec863c.zip
Stop global event bubbling using onlyHandlers flag.
Diffstat (limited to 'src/event.js')
-rw-r--r--src/event.js3
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;