1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-05 18:32:30 +01:00

Fix regression in strict blocking

Related feedback:
- https://www.reddit.com/r/uBlockOrigin/comments/lp6dwp/

Regression from:
- 3af1120082
This commit is contained in:
Raymond Hill 2021-02-22 06:32:43 -05:00
parent 9dcc456da3
commit 918a073c81
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -269,7 +269,7 @@ const shouldStrictBlock = function(fctxt, loggerEnabled) {
const rs = snfe.matchString(fctxt, 0b0011);
const is = rs === 1 && snfe.isBlockImportant();
let lds;
if ( rs !== 0 && loggerEnabled ) {
if ( rs !== 0 || loggerEnabled ) {
lds = snfe.toLogData();
}