Skip to content

Commit a5c33fe

Browse files
committed
Fix #13349. No need to sort simple .find() cases.
1 parent 451d0c3 commit a5c33fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traversing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jQuery.fn.extend({
3232
}
3333

3434
// Needed because $( selector, context ) becomes $( context ).find( selector )
35-
matched = this.pushStack( jQuery.unique( matched ) );
35+
matched = this.pushStack( l > 1 ? jQuery.unique( matched ) : matched );
3636
matched.selector = ( this.selector ? this.selector + " " : "" ) + selector;
3737
return matched;
3838
},

0 commit comments

Comments
 (0)