diff --git a/src/selector.js b/src/selector.js index d580c5ae..3dc87659 100644 --- a/src/selector.js +++ b/src/selector.js @@ -573,7 +573,7 @@ var Expr = Sizzle.selectors = { value.indexOf(check) >= 0 : type === "~=" ? (" " + value + " ").indexOf(check) >= 0 : - !match[4] ? + !check ? result : type === "!=" ? value != check :