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
1 changed files with 1 additions and 0 deletions

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);
}
}