]> source.dussan.org Git - jquery.git/commitdiff
Removed support for //foo | //bar - please use "," instead.
authorJohn Resig <jeresig@gmail.com>
Wed, 10 Jan 2007 18:26:13 +0000 (18:26 +0000)
committerJohn Resig <jeresig@gmail.com>
Wed, 10 Jan 2007 18:26:13 +0000 (18:26 +0000)
src/selector/selector.js

index 40ac53dfa1c0e91560c6240b232be13346393ca3..4a6d1054e63fca918ad68f0703ca8a36cd85e283 100644 (file)
@@ -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