From 560c33b395ec809cc296c97cab41244949ec863c Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Sun, 23 Oct 2011 23:03:00 -0400 Subject: [PATCH] Stop global event bubbling using onlyHandlers flag. --- src/event.js | 3 +-- 1 file changed, 1 insertion(+), 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; -- 2.39.5