aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2008-12-31 19:21:24 +0000
committerJohn Resig <jeresig@gmail.com>2008-12-31 19:21:24 +0000
commit6a3d1a1e281a5d13bca1ea388ae2bd8ce513ffb2 (patch)
tree9a878d4abd2c6190a2deb048363c868f146a48df /src
parentc7a14f13916ca8ed22f9bb6fe40fa104b370211f (diff)
downloadjquery-6a3d1a1e281a5d13bca1ea388ae2bd8ce513ffb2.tar.gz
jquery-6a3d1a1e281a5d13bca1ea388ae2bd8ce513ffb2.zip
Fixed an issue with .not("#foo, bar") not working correctly, closes #3757.
Diffstat (limited to 'src')
-rw-r--r--src/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js
index b5de145fe..92a6bd4a8 100644
--- a/src/core.js
+++ b/src/core.js
@@ -24,7 +24,7 @@ var jQuery = window.jQuery = window.$ = function( selector, context ) {
var quickExpr = /^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,
// Is it a simple selector
- isSimple = /^.[^:#\[\.]*$/,
+ isSimple = /^.[^:#\[\.,]*$/,
// Will speed up references to undefined, and allows munging its name.
undefined;