Index: lib/elemHide.js |
diff --git a/lib/elemHide.js b/lib/elemHide.js |
index 6e2f1b56acbb6e67e79f779503b469f9d8829903..c59164c7094031599185631f16cfdb77e4fbdf52 100644 |
--- a/lib/elemHide.js |
+++ b/lib/elemHide.js |
@@ -201,6 +201,17 @@ var ElemHide = exports.ElemHide = |
delete filterByKey[key]; |
delete keyByFilter[filter.text]; |
ElemHide.isDirty = true; |
+ |
+ if (usingFiltersByDomain) |
+ { |
+ let domains = filter.domains || defaultDomains; |
Wladimir Palant
2016/05/20 13:26:06
The same variable is named domainMatches in .add()
kzar
2016/05/20 13:31:23
Done.
|
+ for (let domain in domains) |
+ { |
+ let filters = filtersByDomain[domain]; |
+ if (filters) |
+ delete filters[filter.text]; |
+ } |
+ } |
} |
}, |