Skip to content
Permalink
Browse files

Fix domManip leaks the first element when appending elements to multi…

…ple other elements.
  • Loading branch information...
csnover committed Jan 9, 2011
1 parent 8e59a99 commit 885d06c8ef906fa11d130d7d567c871d20ef9ba9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/manipulation.js
@@ -346,7 +346,7 @@ jQuery.fn.extend({
table ?
root(this[i], first) :
this[i],
i > 0 || results.cacheable || this.length > 1 ?
i > 0 || results.cacheable || (this.length > 1 && i > 0) ?
jQuery(fragment).clone(true)[0] :
fragment
);

0 comments on commit 885d06c

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