diff options
author | John Resig <jeresig@gmail.com> | 2006-08-31 04:05:57 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2006-08-31 04:05:57 +0000 |
commit | f404d2c395626b3a09512b0b41da77fb7eb36260 (patch) | |
tree | e545f6cb0edf21ae59db4f6582158c5c228a2d01 | |
parent | f7efcc858dec55fa3b9babb94ebc73b0888e6d51 (diff) | |
download | jquery-f404d2c395626b3a09512b0b41da77fb7eb36260.tar.gz jquery-f404d2c395626b3a09512b0b41da77fb7eb36260.zip |
Fixed issue with .remove() not working correctly.
-rw-r--r-- | src/jquery/jquery.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 0a21af773..e26ae9e53 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 ); }, |