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
|
||||
// bound event handlers (IE does this)
|
||||
jQuery.support.noCloneEvent = false;
|
||||
div.detachEvent("onclick", arguments.callee);
|
||||
});
|
||||
div.cloneNode(true).fireEvent("onclick");
|
||||
}
|
||||
|
@ -96,4 +97,4 @@ jQuery.props = {
|
|||
maxlength: "maxLength",
|
||||
cellspacing: "cellSpacing",
|
||||
rowspan: "rowSpan"
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue