mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 17:17:57 +01:00
This commit is contained in:
parent
511e33ff26
commit
3e42b4a97f
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue