1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

Fix :style exception filters not being reported in logger

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/962

Regression from:
- 72bb700568
This commit is contained in:
Raymond Hill 2020-03-26 09:19:02 -04:00
parent 06b7e29efe
commit 044a1dd6ee
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -277,8 +277,8 @@ const handlers = {
continue;
}
const details = JSON.parse(selector);
if ( Array.isArray(details.style) ) {
exceptionDict.set(details.style[0], details.raw);
if ( details.action === 'style' ) {
exceptionDict.set(details.selector, details.raw);
continue;
}
proceduralExceptionDict.set(