mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
Fix unstyling of nodes no longer matching procedural filters
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1392
Regression from:
- 35aefed926
This commit is contained in:
parent
aa011e040c
commit
15afd59e1e
@ -867,6 +867,7 @@ vAPI.injectScriptlet = function(doc, text) {
|
|||||||
for ( const node of nodes ) {
|
for ( const node of nodes ) {
|
||||||
node.setAttribute(this.masterToken, '');
|
node.setAttribute(this.masterToken, '');
|
||||||
node.setAttribute(styleToken, '');
|
node.setAttribute(styleToken, '');
|
||||||
|
this.styledNodes.add(node);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user