mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
another kink fixed
This commit is contained in:
parent
3f55e5ecc2
commit
153bb5fb75
@ -442,7 +442,7 @@
|
||||
// Load updatable assets
|
||||
|
||||
µBlock.loadUpdatableAssets = function(update) {
|
||||
this.assets.autoUpdate = update;
|
||||
this.assets.autoUpdate = update || this.userSettings.autoUpdate;
|
||||
this.assets.autoUpdateDelay = this.updateAssetsEvery;
|
||||
this.loadPublicSuffixList();
|
||||
this.loadUbiquitousBlacklists();
|
||||
@ -461,6 +461,6 @@
|
||||
this.loadLocalSettings();
|
||||
// User settings need to be available for this because we need
|
||||
// µBlock.userSettings.externalLists
|
||||
this.loadUserSettings(this.loadUpdatableAssets.bind(this, this.userSettings.autoUpdate));
|
||||
this.loadUserSettings(this.loadUpdatableAssets.bind(this));
|
||||
this.getBytesInUse();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user