mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-02 09:09:38 +02:00
fix nonsensical "obsolete" status for user filters
This commit is contained in:
parent
d6b733010d
commit
a69379068e
@ -859,7 +859,10 @@ api.metadata = function(callback) {
|
||||
obsoleteAfter = cacheEntry.writeTime + assetEntry.updateAfter * 86400000;
|
||||
assetEntry.obsolete = obsoleteAfter < now;
|
||||
assetEntry.remoteURL = cacheEntry.remoteURL;
|
||||
} else {
|
||||
} else if (
|
||||
assetEntry.contentURL &&
|
||||
assetEntry.contentURL.length !== 0
|
||||
) {
|
||||
assetEntry.writeTime = 0;
|
||||
obsoleteAfter = 0;
|
||||
assetEntry.obsolete = true;
|
||||
|
Loading…
Reference in New Issue
Block a user