git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e86766
)
Ensure that the DOM element ref in an event handler is removed by cleanData to avoid...
author
Dave Methvin
<dave.methvin@gmail.com>
Sun, 9 Jan 2011 22:25:44 +0000
(16:25 -0600)
committer
Colin Snover
<github.com@zetafleet.com>
Sun, 9 Jan 2011 22:25:44 +0000
(16:25 -0600)
src/manipulation.js
patch
|
blob
|
history
diff --git
a/src/manipulation.js
b/src/manipulation.js
index
96caa02
..
4930822
100644
(file)
--- a/
src/manipulation.js
+++ b/
src/manipulation.js
@@
-617,6
+617,11
@@
jQuery.extend({
jQuery.removeEvent( elem, type, data.handle );
}
}
+
+ // Null the DOM reference to avoid IE6/7/8 leak (#7054)
+ if ( data.handle ) {
+ data.handle.elem = null;
+ }
}
if ( deleteExpando ) {