> > however the bug is only visible in a complex script, and within th
> Firebug
> > Inspector (but I can assure you it breaks my script), and I was not able
> to
> > write a simple test... so you might prefer to ignore me :)
> 
> So this is in the case an element of $("h1") does not match any selector.
> 
> The same error appears if you change the selector to:
> 
>         $("h1").filter([".one", ".nomatch"]).css("background", "red");   
> 
> Now, it breaks when a selector does not match any element of $("h1").
> 
> In both cases the patch clears the issue

Could you please post this as a bug report?

I wonder if the filter(Array<String>) method is really useful, why not just use 
this:
$("h1").filter(".one, .nomatch").css("background", "red");  
Should be pretty much the same.
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to