aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
authordmethvin <dave.methvin@gmail.com>2010-10-23 14:36:24 -0400
committerJohn Resig <jeresig@gmail.com>2010-10-25 13:05:31 -0700
commit974b5aeab7a3788ff5fb9db87b9567784e0249fc (patch)
treebb2f306f606baef485ac31cf76f3546d0e181fa3 /src/event.js
parentee845c49758eeb5236d9e4520b7921e12d5f29b9 (diff)
downloadjquery-974b5aeab7a3788ff5fb9db87b9567784e0249fc.tar.gz
jquery-974b5aeab7a3788ff5fb9db87b9567784e0249fc.zip
Honor stopImmediatePropagation for live/delegate event handlers. Fixes #7217.
Diffstat (limited to 'src/event.js')
-rw-r--r--src/event.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/event.js b/src/event.js
index d491ae8a1..959e89c5e 100644
--- a/src/event.js
+++ b/src/event.js
@@ -1132,6 +1132,9 @@ function liveHandler( event ) {
if ( ret === false ) {
stop = false;
}
+ if ( event.isImmediatePropagationStopped() ) {
+ break;
+ }
}
}