X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=blobdiff_plain;f=src%2Fmanipulation.js;h=c592b7a43a9aabf9de1a1ecc4327064780e7f9fa;hp=5b53da86199c678144a01683c8c8862ebe0aa5fe;hb=e4900df8389c85350d1d82c827fab0d4b91989d6;hpb=c8be9461eed2cd01fb45ae504f92f80fe72bddde diff --git a/src/manipulation.js b/src/manipulation.js index 5b53da8..c592b7a 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -349,7 +349,7 @@ jQuery.fn.extend({ root(this[i], first) : this[i], i > 0 || results.cacheable || this.length > 1 ? - fragment.cloneNode(true) : + jQuery(fragment).clone(true)[0] : fragment ); }