Fixed an issue with child selectors accidentally triggering filter mode.

This commit is contained in:
John Resig 2007-01-22 04:50:30 +00:00
parent c39d1a21c6
commit 31d65e9052

View file

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