Skip to content
Permalink
Browse files

Simplify check for empty set in jQuery#domManip

  • Loading branch information
markelog committed Dec 23, 2012
1 parent 2dd2e48 commit 9256ba5380fca27ebc70e4d1e798fa45cb30e3a2
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/manipulation.js
@@ -273,8 +273,8 @@ jQuery.fn.extend({
});
}

if ( this[0] ) {
doc = this[0].ownerDocument;
if ( l ) {
doc = this[ 0 ].ownerDocument;
fragment = doc.createDocumentFragment();
jQuery.clean( args, doc, fragment, undefined, this );
first = fragment.firstChild;

0 comments on commit 9256ba5

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