mirror of https://github.com/gorhill/uBlock.git
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
|
@ -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 New Issue