mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix improperly detecting ruleset changes re. dynamic URL filtering
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2330
This commit is contained in:
parent
37030ec0c9
commit
d027a3f7c4
1 changed files with 2 additions and 1 deletions
|
|
@ -1710,12 +1710,13 @@ const getURLFilteringData = function(details) {
|
|||
}
|
||||
if ( response.dirty ) { continue; }
|
||||
puf.evaluateZ(context, url, type);
|
||||
response.dirty = colorEntry.own !== (
|
||||
const pown = (
|
||||
puf.r !== 0 &&
|
||||
puf.context === context &&
|
||||
puf.url === url &&
|
||||
puf.type === type
|
||||
);
|
||||
response.dirty = colorEntry.own !== pown || colorEntry.r !== puf.r;
|
||||
}
|
||||
return response;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue