Index: lib/filterClasses.js |
=================================================================== |
--- a/lib/filterClasses.js |
+++ b/lib/filterClasses.js |
@@ -736,17 +736,17 @@ |
let matchCase = null; |
let domains = null; |
let sitekeys = null; |
let thirdParty = null; |
let collapse = null; |
let csp = null; |
let rewrite = null; |
let options; |
- let match = (text.indexOf("$") >= 0 ? Filter.optionsRegExp.exec(text) : null); |
+ let match = text.includes("$") ? Filter.optionsRegExp.exec(text) : null; |
if (match) |
{ |
options = match[1].split(","); |
text = match.input.substr(0, match.index); |
for (let option of options) |
{ |
let value = null; |
let separatorIndex = option.indexOf("="); |