This commit is contained in:
Raymond Hill 2018-01-01 07:52:03 -05:00
parent fc26b5d227
commit 636dcf7ee4
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 6 additions and 1 deletions

View File

@ -172,11 +172,16 @@
// Select default filter lists if first-time launch.
if ( !bin || Array.isArray(bin.selectedFilterLists) === false ) {
µb.assets.metadata(function(availableLists) {
µb.saveSelectedFilterLists(µb.autoSelectRegionalFilterLists(availableLists));
µb.saveSelectedFilterLists(
µb.autoSelectRegionalFilterLists(availableLists)
);
callback();
});
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;
callback();
});