git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e105ef
)
Fixed an issue with child selectors that also have filters.
author
John Resig
<jeresig@gmail.com>
Mon, 22 Jan 2007 05:33:28 +0000
(
05:33
+0000)
committer
John Resig
<jeresig@gmail.com>
Mon, 22 Jan 2007 05:33:28 +0000
(
05:33
+0000)
src/selector/selector.js
patch
|
blob
|
history
diff --git
a/src/selector/selector.js
b/src/selector/selector.js
index
7596acd
..
b8f0cb3
100644
(file)
--- a/
src/selector/selector.js
+++ b/
src/selector/selector.js
@@
-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 ) {