Index: lib/elemHideEmulation.js |
=================================================================== |
--- a/lib/elemHideEmulation.js |
+++ b/lib/elemHideEmulation.js |
@@ -64,17 +64,17 @@ |
*/ |
getRulesForDomain(domain) |
{ |
let result = []; |
for (let text of filters.values()) |
{ |
let filter = Filter.fromText(text); |
if (filter.isActiveOnDomain(domain) && |
- !ElemHide.getException(filter, domain)) |
+ !ElemHide.getException(filter.selector, domain)) |
{ |
result.push(filter); |
} |
} |
return result; |
} |
}; |
exports.ElemHideEmulation = ElemHideEmulation; |