mirror of
https://github.com/wassname/Mostly-Harmless.git
synced 2026-06-27 16:10:28 +08:00
fixed severe bug in production that cleared the cache every 0ms
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
background.clearCache();
|
||||
chrome.tabs.onUpdated.addListener(background.prepareBrowserAction);
|
||||
background.watchMail();
|
||||
window.setInterval(background.clearCache, settings.cacheTime * 60 * 1000);
|
||||
window.setInterval(background.clearCache, (settings.get('cacheTime') * 60 * 1000));
|
||||
reddit.getReddits();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user