mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-05 18:32:30 +01:00
This commit is contained in:
parent
511e33ff26
commit
3e42b4a97f
@ -217,7 +217,13 @@ api.fetchFilterList = function(mainlistURL, onLoad, onError) {
|
||||
onLoad(details);
|
||||
};
|
||||
|
||||
// https://github.com/AdguardTeam/FiltersRegistry/issues/82
|
||||
// Not checking for `errored` status was causing repeated notifications
|
||||
// to the caller. This can happens when more than one out of multiple
|
||||
// sublists can't be fetched.
|
||||
var onLocalLoadError = function(details) {
|
||||
if ( errored ) { return; }
|
||||
|
||||
errored = true;
|
||||
details.url = mainlistURL;
|
||||
details.content = '';
|
||||
|
Loading…
Reference in New Issue
Block a user