From 7b439921c48070e7b01ebda3580e0ada01a082b5 Mon Sep 17 00:00:00 2001 From: John Resig Date: Wed, 10 Jan 2007 18:26:13 +0000 Subject: [PATCH] Removed support for //foo | //bar - please use "," instead. --- src/selector/selector.js | 4 ++-- 1 file 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 -- 2.39.5