mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fix #13349. No need to sort simple .find() cases.
This commit is contained in:
parent
451d0c37d9
commit
a5c33fe1f7
@ -32,7 +32,7 @@ jQuery.fn.extend({
|
||||
}
|
||||
|
||||
// Needed because $( selector, context ) becomes $( context ).find( selector )
|
||||
matched = this.pushStack( jQuery.unique( matched ) );
|
||||
matched = this.pushStack( l > 1 ? jQuery.unique( matched ) : matched );
|
||||
matched.selector = ( this.selector ? this.selector + " " : "" ) + selector;
|
||||
return matched;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user