aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2007-01-10 18:26:13 +0000
committerJohn Resig <jeresig@gmail.com>2007-01-10 18:26:13 +0000
commit7b439921c48070e7b01ebda3580e0ada01a082b5 (patch)
tree57b7767128bb2d6b944d02c2a58f5d63a384c6f7
parent75b6bcdb4206fc8cb0bd4294bdc9fef87c44325d (diff)
downloadjquery-7b439921c48070e7b01ebda3580e0ada01a082b5.tar.gz
jquery-7b439921c48070e7b01ebda3580e0ada01a082b5.zip
Removed support for //foo | //bar - please use "," instead.
-rw-r--r--src/selector/selector.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selector/selector.js b/src/selector/selector.js
index 40ac53dfa..4a6d1054e 100644
--- a/src/selector/selector.js
+++ b/src/selector/selector.js
@@ -188,8 +188,8 @@ jQuery.extend({
// matched a token
if ( t && !foundToken ) {
// Handle multiple expressions
- if ( !t.indexOf(",") || !t.indexOf("|") ) {
- // Clean teh result set
+ if ( !t.indexOf(",") ) {
+ // Clean the result set
if ( ret[0] == context ) ret.shift();
// Merge the result sets