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 f404d2c395626b3a09512b0b41da77fb7eb36260
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 );
},

0 comments on commit f404d2c

Please sign in to comment.
You can’t perform that action at this time.