1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 07:22:28 +02:00

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() {
reloadAll(true);
if ( needUpdate ) {
reloadAll(true);
}
};
/******************************************************************************/

View File

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