Fixed an issue with child selectors that also have filters.

This commit is contained in:
John Resig 2007-01-22 05:33:28 +00:00
parent 8e105ef931
commit 8fc9e06c46

View file

@ -161,8 +161,8 @@ jQuery.extend({
ret = r;
t = t.replace( re, "" );
if ( foundToken = t.indexOf(" ") == 0 )
continue;
if ( t.indexOf(" ") == 0 ) continue;
foundToken = true;
} else {
// Look for pre-defined expression tokens
for ( var i = 0; i < jQuery.token.length; i += 2 ) {