diff --git a/jquery/jquery.js b/jquery/jquery.js index 7eddb394..c24e7949 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() {