Skip to content
Permalink
Browse files

Must attach the .selector to the new jQuery object.

  • Loading branch information
dmethvin committed Nov 2, 2012
1 parent f651bf8 commit 68f001e709b6e6a3ac09d918991480aeef8eb9e5
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/traversing.js
@@ -31,8 +31,9 @@ jQuery.fn.extend({
}

// Needed because $( selector, context ) becomes $( context ).find( selector )
ret = this.pushStack( jQuery.unique( ret ) );
ret.selector = ( this.selector ? this.selector + " " : "" ) + selector;
return this.pushStack( jQuery.unique( ret ) );
return ret;
},

has: function( target ) {

1 comment on commit 68f001e

@markelog

This comment has been minimized.

Copy link
Member

markelog commented on 68f001e Nov 2, 2012

sorry about that :-(

Please sign in to comment.
You can’t perform that action at this time.