git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fde7edc
)
.remove() is no longer destructive (so that appendTo can be used later).
author
John Resig
<jeresig@gmail.com>
Wed, 5 Jul 2006 02:09:38 +0000
(
02:09
+0000)
committer
John Resig
<jeresig@gmail.com>
Wed, 5 Jul 2006 02:09:38 +0000
(
02:09
+0000)
jquery/jquery.js
patch
|
blob
|
history
diff --git
a/jquery/jquery.js
b/jquery/jquery.js
index
7eddb39
..
c24e794
100644
(file)
--- 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() {