diff options
author | John Resig <jeresig@gmail.com> | 2009-02-20 19:45:29 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2009-02-20 19:45:29 +0000 |
commit | a37ca9e9058243169725982e91bce60801b9857d (patch) | |
tree | 40e1558a5c2bd3f54068dfabd3259c6933516837 /src/core.js | |
parent | db62240fcfe5636393fd3838fbb5ab62c363ad31 (diff) | |
download | jquery-a37ca9e9058243169725982e91bce60801b9857d.tar.gz jquery-a37ca9e9058243169725982e91bce60801b9857d.zip |
Made sure that .remove now uses multiFilter. Fixes bug #4205.
Diffstat (limited to 'src/core.js')
-rw-r--r-- | src/core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js index ba796bca9..65960e292 100644 --- a/src/core.js +++ b/src/core.js @@ -1224,7 +1224,7 @@ jQuery.each({ }, remove: function( selector ) { - if ( !selector || jQuery.filter( selector, [ this ] ).length ) { + if ( !selector || jQuery.multiFilter( selector, [ this ] ).length ) { // Prevent memory leaks jQuery( "*", this ).add([this]).each(function(){ jQuery.event.remove(this); |