X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=blobdiff_plain;f=src%2Fmanipulation.js;h=206476c2deb26db35f56642fb7ba8b074fcb25fc;hp=657aef7d1fc2891f67930ffa98fbb82418d08302;hb=885d06c8ef906fa11d130d7d567c871d20ef9ba9;hpb=8e59a99e0ade75dec434f246f52e8b3f7393f359 diff --git a/src/manipulation.js b/src/manipulation.js index 657aef7..206476c 100644 --- a/src/manipulation.js +++ b/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 );