match[4] is already saved in check - thanks Balazs.

This commit is contained in:
John Resig
2009-02-09 15:01:23 +00:00
parent ce90accc58
commit ab74ce7b57

View File

@@ -573,7 +573,7 @@ var Expr = Sizzle.selectors = {
value.indexOf(check) >= 0 :
type === "~=" ?
(" " + value + " ").indexOf(check) >= 0 :
!match[4] ?
!check ?
result :
type === "!=" ?
value != check :