mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-11 09:31:01 +01:00
code review
This commit is contained in:
parent
e032b7aab9
commit
c67e126734
2 changed files with 4 additions and 1 deletions
|
@ -376,7 +376,9 @@ var buttonApplyHandler = function() {
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
var buttonUpdateHandler = function() {
|
var buttonUpdateHandler = function() {
|
||||||
reloadAll(true);
|
if ( needUpdate ) {
|
||||||
|
reloadAll(true);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
|
@ -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));
|
||||||
|
|
Loading…
Reference in a new issue