diff options
author | John Resig <jeresig@gmail.com> | 2008-12-31 19:21:24 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2008-12-31 19:21:24 +0000 |
commit | 6a3d1a1e281a5d13bca1ea388ae2bd8ce513ffb2 (patch) | |
tree | 9a878d4abd2c6190a2deb048363c868f146a48df /src | |
parent | c7a14f13916ca8ed22f9bb6fe40fa104b370211f (diff) | |
download | jquery-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.js | 2 |
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; |