From 153bb5fb75a4fff2024a29328add03f719bd64ba Mon Sep 17 00:00:00 2001 From: gorhill Date: Wed, 20 Aug 2014 22:34:22 -0400 Subject: [PATCH] another kink fixed --- js/storage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/storage.js b/js/storage.js index dd2f6cf29..2436c19d9 100644 --- a/js/storage.js +++ b/js/storage.js @@ -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(); };