minor code review

pull/2/head
gorhill 10 years ago
parent 83cc6053eb
commit 438a7dca0a

@ -138,7 +138,10 @@ var onUserSettingsLoaded = function() {
delete µm.userSettings.popupCollapseSpecificDomains; delete µm.userSettings.popupCollapseSpecificDomains;
delete µm.userSettings.popupHideBlacklisted; delete µm.userSettings.popupHideBlacklisted;
// These do not exist anymore: // These do not exist anymore:
delete µm.smartAutoReload;
delete µm.userSettings.statsFilters; delete µm.userSettings.statsFilters;
delete µm.userSettings.subframeColor;
delete µm.userSettings.subframeOpacity;
µm.loadHostsFiles(onHostsFilesLoaded); µm.loadHostsFiles(onHostsFilesLoaded);
}; };

@ -200,6 +200,7 @@
µm.ubiquitousBlacklist.freeze(); µm.ubiquitousBlacklist.freeze();
vAPI.storage.set({ 'liveHostsFiles': µm.liveHostsFiles }); vAPI.storage.set({ 'liveHostsFiles': µm.liveHostsFiles });
vAPI.messaging.broadcast({ what: 'loadHostsFilesCompleted' }); vAPI.messaging.broadcast({ what: 'loadHostsFilesCompleted' });
µm.getBytesInUse();
callback(); callback();
}; };

Loading…
Cancel
Save