mirror of https://github.com/gorhill/uBlock.git
fix #3383
This commit is contained in:
parent
fc26b5d227
commit
636dcf7ee4
|
@ -172,11 +172,16 @@
|
||||||
// Select default filter lists if first-time launch.
|
// Select default filter lists if first-time launch.
|
||||||
if ( !bin || Array.isArray(bin.selectedFilterLists) === false ) {
|
if ( !bin || Array.isArray(bin.selectedFilterLists) === false ) {
|
||||||
µb.assets.metadata(function(availableLists) {
|
µb.assets.metadata(function(availableLists) {
|
||||||
µb.saveSelectedFilterLists(µb.autoSelectRegionalFilterLists(availableLists));
|
µb.saveSelectedFilterLists(
|
||||||
|
µb.autoSelectRegionalFilterLists(availableLists)
|
||||||
|
);
|
||||||
callback();
|
callback();
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// TODO: Removes once 1.1.15 is in widespread use.
|
||||||
|
// https://github.com/gorhill/uBlock/issues/3383
|
||||||
|
vAPI.storage.remove('remoteBlacklists');
|
||||||
µb.selectedFilterLists = bin.selectedFilterLists;
|
µb.selectedFilterLists = bin.selectedFilterLists;
|
||||||
callback();
|
callback();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue