another kink fixed

This commit is contained in:
gorhill 2014-08-20 22:34:22 -04:00
parent 3f55e5ecc2
commit 153bb5fb75
1 changed files with 2 additions and 2 deletions

View File

@ -442,7 +442,7 @@
// Load updatable assets // Load updatable assets
µBlock.loadUpdatableAssets = function(update) { µBlock.loadUpdatableAssets = function(update) {
this.assets.autoUpdate = update; this.assets.autoUpdate = update || this.userSettings.autoUpdate;
this.assets.autoUpdateDelay = this.updateAssetsEvery; this.assets.autoUpdateDelay = this.updateAssetsEvery;
this.loadPublicSuffixList(); this.loadPublicSuffixList();
this.loadUbiquitousBlacklists(); this.loadUbiquitousBlacklists();
@ -461,6 +461,6 @@
this.loadLocalSettings(); this.loadLocalSettings();
// User settings need to be available for this because we need // User settings need to be available for this because we need
// µBlock.userSettings.externalLists // µBlock.userSettings.externalLists
this.loadUserSettings(this.loadUpdatableAssets.bind(this, this.userSettings.autoUpdate)); this.loadUserSettings(this.loadUpdatableAssets.bind(this));
this.getBytesInUse(); this.getBytesInUse();
}; };