We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 451d0c3 commit a5c33feCopy full SHA for a5c33fe
src/traversing.js
@@ -32,7 +32,7 @@ jQuery.fn.extend({
32
}
33
34
// Needed because $( selector, context ) becomes $( context ).find( selector )
35
- matched = this.pushStack( jQuery.unique( matched ) );
+ matched = this.pushStack( l > 1 ? jQuery.unique( matched ) : matched );
36
matched.selector = ( this.selector ? this.selector + " " : "" ) + selector;
37
return matched;
38
},
0 commit comments