Fixed an issue with .not("#foo, bar") not working correctly, closes #3757.
This commit is contained in:
parent
c7a14f1391
commit
6a3d1a1e28
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue