Fix minor bug in duplicate code ... gpt, sigh
This commit is contained in:
@ -85,7 +85,6 @@ browser.tabs.onUpdated.addListener(async (tabId, changeInfo, tab) => {
|
|||||||
const url = encodeURIComponent(tab.url);
|
const url = encodeURIComponent(tab.url);
|
||||||
updateIcon("wait");
|
updateIcon("wait");
|
||||||
|
|
||||||
if (activeTabs.has(tabId)) clearTimeout(activeTabs.get(tabId));
|
|
||||||
const siteDelay = getDelayForUrl(url, await getSettings());
|
const siteDelay = getDelayForUrl(url, await getSettings());
|
||||||
|
|
||||||
if (activeTabs.has(tabId)) clearTimeout(activeTabs.get(tabId));
|
if (activeTabs.has(tabId)) clearTimeout(activeTabs.get(tabId));
|
||||||
|
|||||||
Reference in New Issue
Block a user