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 1 changed file with 2 additions and 1 deletion.
@@ -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
Copy link
Member

@markelog markelog commented on 68f001e Nov 2, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry about that :-(

Please sign in to comment.