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 9256ba5
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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.