code review

This commit is contained in:
gorhill 2014-08-20 01:18:53 -04:00
parent e032b7aab9
commit c67e126734
2 changed files with 4 additions and 1 deletions

View file

@ -376,7 +376,9 @@ var buttonApplyHandler = function() {
/******************************************************************************/ /******************************************************************************/
var buttonUpdateHandler = function() { var buttonUpdateHandler = function() {
reloadAll(true); if ( needUpdate ) {
reloadAll(true);
}
}; };
/******************************************************************************/ /******************************************************************************/

View file

@ -453,6 +453,7 @@
// Load all // Load all
µBlock.load = function() { µBlock.load = function() {
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.userSettings.autoUpdate));