Fixed an issue with .not("#foo, bar") not working correctly, closes #3757.

This commit is contained in:
John Resig 2008-12-31 19:21:24 +00:00
parent c7a14f1391
commit 6a3d1a1e28
2 changed files with 6 additions and 2 deletions

View file

@ -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;