1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-05 18:32:30 +01:00
Raymond Hill 2018-07-06 09:50:41 -04:00
parent 511e33ff26
commit 3e42b4a97f
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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 = '';