Skip to content
Permalink
Browse files
Fixed an issue with child selectors accidentally triggering filter mode.
  • Loading branch information
jeresig committed Jan 22, 2007
1 parent c39d1a2 commit 31d65e905237376161b8309411296c6ee72ee100
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/selector/selector.js
@@ -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 ) {

0 comments on commit 31d65e9

Please sign in to comment.