|
@@ -90,7 +90,7 @@ this.RulesMatcher = this.RulesMatcher || (() => {
|
|
|
matchedElements = [];
|
|
matchedElements = [];
|
|
|
} else {
|
|
} else {
|
|
|
matchedElements = doc.querySelectorAll(selectorText);
|
|
matchedElements = doc.querySelectorAll(selectorText);
|
|
|
- if (!matchedElements.length && !unmatchedSelectorsCache.find(selectorText)) {
|
|
|
|
|
|
|
+ if (!matchedElements.length && !unmatchedSelectorsCache.includes(selectorText)) {
|
|
|
unmatchedSelectorsCache.push(selectorText);
|
|
unmatchedSelectorsCache.push(selectorText);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|