X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=933e97433b11eb31a7d036d2942502e907915404;hb=0eb642cc1f515f6c072c9ed96dfd757cb44f1656;hp=d9f5b8a64e642507287fe65c1aa6e473628c31c7;hpb=9f93c7b3b858c4491e1d2aa7a680b9b1dd29b17c;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index d9f5b8a..933e974 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -257,9 +257,9 @@ jQuery.fn = jQuery.prototype = { * @cat Core */ pushStack: function( a ) { - var ret = jQuery(this); + var ret = jQuery(a); ret.prevObject = this; - return ret.setArray( a ); + return ret; }, /** @@ -803,7 +803,7 @@ jQuery.fn = jQuery.prototype = { find: function(t) { return this.pushStack( jQuery.map( this, function(a){ return jQuery.find(t,a); - }) ); + }), t ); }, /**