Browse Source

minor code review

pull/2/head
gorhill 10 years ago
parent
commit
438a7dca0a
  1. 3
      src/js/start.js
  2. 1
      src/js/storage.js

3
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);
};

1
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();
};

Loading…
Cancel
Save