Commit a5c33fe1 authored by Dave Methvin's avatar Dave Methvin

Fix #13349. No need to sort simple .find() cases.

parent 451d0c37
......@@ -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;
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment