on startup do a hard reset, not a safe Background.clearCache()

This commit is contained in:
Kerrick Long
2012-04-29 08:47:30 -05:00
parent b014fda4a2
commit ad5021c507
+2 -1
View File
@@ -12,7 +12,8 @@
background = new Background();
function initBackground() {
background.clearCache();
cache.removeAll();
button.setBadgeDefaults();
chrome.tabs.onUpdated.addListener(background.prepareBrowserAction);
background.watchMail();
window.setInterval(background.clearCache, (settings.get('cacheTime') * 60 * 1000));