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:
f7efcc8
)
Fixed issue with .remove() not working correctly.
author
John Resig
<jeresig@gmail.com>
Thu, 31 Aug 2006 04:05:57 +0000
(
04:05
+0000)
committer
John Resig
<jeresig@gmail.com>
Thu, 31 Aug 2006 04:05:57 +0000
(
04:05
+0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
0a21af7
..
e26ae9e
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-2549,7
+2549,7
@@
jQuery.macros = {
* @cat DOM/Manipulation
*/
remove: function(a){
- if ( !a || jQuery.filter( [this], a ).r )
+ if ( !a || jQuery.filter( a, [this] ).r )
this.parentNode.removeChild( this );
},