1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 07:22:28 +02: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:
Raymond Hill 2020-12-10 10:03:15 -05:00
parent aa011e040c
commit 15afd59e1e
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -867,6 +867,7 @@ vAPI.injectScriptlet = function(doc, text) {
for ( const node of nodes ) {
node.setAttribute(this.masterToken, '');
node.setAttribute(styleToken, '');
this.styledNodes.add(node);
}
}