Commit 68f001e7 authored by Dave Methvin's avatar Dave Methvin

Must attach the .selector to the new jQuery object.

parent f651bf88
...@@ -31,8 +31,9 @@ jQuery.fn.extend({ ...@@ -31,8 +31,9 @@ jQuery.fn.extend({
} }
// Needed because $( selector, context ) becomes $( context ).find( selector ) // Needed because $( selector, context ) becomes $( context ).find( selector )
ret = this.pushStack( jQuery.unique( ret ) );
ret.selector = ( this.selector ? this.selector + " " : "" ) + selector; ret.selector = ( this.selector ? this.selector + " " : "" ) + selector;
return this.pushStack( jQuery.unique( ret ) ); return ret;
}, },
has: function( target ) { has: function( target ) {
......
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