X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=jquery%2Fjquery.js;h=c24e7949ea5887b469a2b42520d6ac91e4f606b7;hb=f197c7469f43c02bcbc65f2f41e2b419f0379700;hp=7eddb394de65525a4b32645e5539c9bd2109a9af;hpb=fde7edc456dac52fe43651b8e074ec6ed13d23f2;p=jquery.git diff --git a/jquery/jquery.js b/jquery/jquery.js index 7eddb39..c24e794 100644 --- a/jquery/jquery.js +++ b/jquery/jquery.js @@ -173,8 +173,9 @@ jQuery.fn = jQuery.prototype = { }); }, remove: function() { - this.each(function(){this.parentNode.removeChild( this );}); - return this.pushStack( [] ); + return this.each(function(){ + this.parentNode.removeChild( this ); + }); }, wrap: function() {