Skip to content
Permalink
Browse files
Fixed issue with .remove() not working correctly.
  • Loading branch information
jeresig committed Aug 31, 2006
1 parent f7efcc8 commit f404d2c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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 );
},

0 comments on commit f404d2c

Please sign in to comment.