jquery support: Closes #3758, fixes a memory leak on IE. Thanks Choan Galvez.
This commit is contained in:
parent
4f99e793fa
commit
1b0276dc57
|
@ -78,6 +78,7 @@
|
||||||
// Cloning a node shouldn't copy over any
|
// Cloning a node shouldn't copy over any
|
||||||
// bound event handlers (IE does this)
|
// bound event handlers (IE does this)
|
||||||
jQuery.support.noCloneEvent = false;
|
jQuery.support.noCloneEvent = false;
|
||||||
|
div.detachEvent("onclick", arguments.callee);
|
||||||
});
|
});
|
||||||
div.cloneNode(true).fireEvent("onclick");
|
div.cloneNode(true).fireEvent("onclick");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue