diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2011-04-11 13:25:57 -0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2011-04-11 13:25:57 -0400 |
commit | 7fa6de0ec16df46b90a862778e16c4091198870d (patch) | |
tree | 90c12fab805afb0b5a7db3bef703293dbc6d5471 /src | |
parent | a5071d49ba29ba115954845db9363aa6459f1a84 (diff) | |
parent | 094c48e0c5cff8f7cc039426a34ed47b2a748c3c (diff) | |
download | jquery-7fa6de0ec16df46b90a862778e16c4091198870d.tar.gz jquery-7fa6de0ec16df46b90a862778e16c4091198870d.zip |
Merge branch 'master' of github.com:jquery/jquery into fix-8790-quick-trigger
Diffstat (limited to 'src')
-rw-r--r-- | src/event.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/event.js b/src/event.js index 097bc6501..b8a2e37ec 100644 --- a/src/event.js +++ b/src/event.js @@ -1049,6 +1049,14 @@ jQuery.each(["live", "die"], function( i, name ) { return this; } + if ( name === "die" && !types && + origSelector && origSelector[0] === "." ) { + + context.unbind( origSelector ); + + return this; + } + if ( data === false || jQuery.isFunction( data ) ) { fn = data || returnFalse; data = undefined; |