jquery support: Closes #3758, fixes a memory leak on IE. Thanks Choan Galvez.

This commit is contained in:
Ariel Flesler 2008-12-29 22:05:02 +00:00
parent 4f99e793fa
commit 1b0276dc57

View File

@ -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"
};
};