mirror of
https://github.com/jquery/jquery.git
synced 2026-02-06 17:24:54 -05:00
Update Sizzle: allows disconnected sorting. Change add to always sort with added nodes, even when disconnected.
This commit is contained in:
Submodule src/sizzle updated: 3ed4e970e2...f690144148
@@ -132,9 +132,7 @@ jQuery.fn.extend({
|
||||
jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ),
|
||||
all = jQuery.merge( this.get(), set );
|
||||
|
||||
return this.pushStack( isDisconnected( set[0] ) || isDisconnected( all[0] ) ?
|
||||
all :
|
||||
jQuery.unique( all ) );
|
||||
return this.pushStack( jQuery.unique(all) );
|
||||
},
|
||||
|
||||
addBack: function( selector ) {
|
||||
|
||||
Reference in New Issue
Block a user