X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fmanipulation.js;h=a10feae93c4f9b840f82ceecec53b044f01b3110;hb=99e7560808679b5044dbefb2b7124bb019fdbda2;hp=1453f98c5c1424efbf47d174057088394231fee1;hpb=726fda08bea7bbd72d73be4563aba855c63966fe;p=jquery.git diff --git a/src/manipulation.js b/src/manipulation.js index 1453f98..a10feae 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -321,7 +321,7 @@ jQuery.fn.extend({ parent = value && value.parentNode; // If we're in a fragment, just use that instead of building a new one - if ( parent && parent.nodeType === 11 && parent.childNodes.length === this.length ) { + if ( jQuery.support.parentNode && parent && parent.nodeType === 11 && parent.childNodes.length === this.length ) { results = { fragment: parent }; } else {