X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fjquery%2Fjquery.js;h=e26ae9e53d755425274af9612fd903aa3edd8d86;hb=f404d2c395626b3a09512b0b41da77fb7eb36260;hp=0a21af773f98174573c33fd76d445b28c50ffacd;hpb=f7efcc858dec55fa3b9babb94ebc73b0888e6d51;p=jquery.git diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 0a21af7..e26ae9e 100644 --- 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 ); },