the fix is much simpler:

t.constructor == Array &&
jQuery.map(this,function(a){
        for ( var i = 0; i < t.length; i++ )
                if ( jQuery.filter(t[i],[a]).r.length )
                        return a;
-       return false;
+       return null;
}) ||

I've tested with coreTest.js and your example and it works.

-- 
View this message in context: 
http://www.nabble.com/.filter%28array%29-bug%2C-and-patch-tf2718768.html#a7582383
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to