aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2009-02-20 19:45:29 +0000
committerJohn Resig <jeresig@gmail.com>2009-02-20 19:45:29 +0000
commita37ca9e9058243169725982e91bce60801b9857d (patch)
tree40e1558a5c2bd3f54068dfabd3259c6933516837 /src/core.js
parentdb62240fcfe5636393fd3838fbb5ab62c363ad31 (diff)
downloadjquery-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.js2
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);