jquery support: Closes #3758, fixes a memory leak on IE. Thanks Choan Galvez.
This commit is contained in:
parent
4f99e793fa
commit
1b0276dc57
1 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
|
@ -96,4 +97,4 @@ jQuery.props = {
|
||||||
maxlength: "maxLength",
|
maxlength: "maxLength",
|
||||||
cellspacing: "cellSpacing",
|
cellspacing: "cellSpacing",
|
||||||
rowspan: "rowSpan"
|
rowspan: "rowSpan"
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue