mirror of
https://github.com/wassname/Mostly-Harmless.git
synced 2026-08-18 11:40:43 +08:00
Wow, I was totally reading that backwards...
This commit is contained in:
+1
-1
@@ -753,7 +753,7 @@ function Background() {
|
||||
*/
|
||||
Background.prototype.prepareBrowserAction = function (tabId, info, tab) {
|
||||
if (info.status === 'loading') {
|
||||
if (settings.get('waitForClick') === 'true') {
|
||||
if (settings.get('waitForClick') === false) {
|
||||
if (cache.get(tab.url) === undefined || cache.get(tab.url).cacheDate - utils.epoch() < -60 * settings.get('cacheTime')) {
|
||||
console.log(chrome.i18n.getMessage('loading_api'));
|
||||
console.log(utils.parseURL(tab.url));
|
||||
|
||||
Reference in New Issue
Block a user