mirror of
https://github.com/jquery/jquery.git
synced 2026-01-26 14:58:28 -05:00
Simplify check for empty set in jQuery#domManip
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user