Skip to content
Permalink
Browse files

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

… Galvez.
  • Loading branch information
flesler committed Dec 29, 2008
1 parent 4f99e79 commit 1b0276dc57cbca869027ba19986b0810f7042854
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/support.js
@@ -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"
};
};

0 comments on commit 1b0276d

Please sign in to comment.
You can’t perform that action at this time.