From 438a7dca0acf9cce8ff3c98fbb56b490c6c4fd59 Mon Sep 17 00:00:00 2001 From: gorhill Date: Tue, 12 May 2015 06:36:30 -0400 Subject: [PATCH] minor code review --- src/js/start.js | 3 +++ src/js/storage.js | 1 + 2 files changed, 4 insertions(+) diff --git a/src/js/start.js b/src/js/start.js index 16d3468..d4e8286 100644 --- a/src/js/start.js +++ b/src/js/start.js @@ -138,7 +138,10 @@ var onUserSettingsLoaded = function() { delete µm.userSettings.popupCollapseSpecificDomains; delete µm.userSettings.popupHideBlacklisted; // These do not exist anymore: + delete µm.smartAutoReload; delete µm.userSettings.statsFilters; + delete µm.userSettings.subframeColor; + delete µm.userSettings.subframeOpacity; µm.loadHostsFiles(onHostsFilesLoaded); }; diff --git a/src/js/storage.js b/src/js/storage.js index 7d097fe..fb9b2f6 100644 --- a/src/js/storage.js +++ b/src/js/storage.js @@ -200,6 +200,7 @@ µm.ubiquitousBlacklist.freeze(); vAPI.storage.set({ 'liveHostsFiles': µm.liveHostsFiles }); vAPI.messaging.broadcast({ what: 'loadHostsFilesCompleted' }); + µm.getBytesInUse(); callback(); };