From de66ee87f1207d5bd195290aa22704d015dd241b Mon Sep 17 00:00:00 2001 From: mbnuqw Date: Wed, 12 Jul 2023 00:41:43 +0500 Subject: [PATCH] Cleanup --- src/services/tabs.fg.actions.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/services/tabs.fg.actions.ts b/src/services/tabs.fg.actions.ts index 417a9b0e6..91b54af53 100644 --- a/src/services/tabs.fg.actions.ts +++ b/src/services/tabs.fg.actions.ts @@ -1386,7 +1386,6 @@ export async function discardTabs(tabIds: ID[] = []): Promise { if (!tab || tab.pinned) return false return true }) - console.log('[DEBUG] wtf', tabIds) } // Update succession for active tab to prevent switching to discarded tabs @@ -1397,7 +1396,6 @@ export async function discardTabs(tabIds: ID[] = []): Promise { if (target) { // If active tab will be discraded activate another if (tabIds.includes(Tabs.activeId)) { - console.log('[DEBUG] target', target?.title) await browser.tabs.update(target.id, { active: true }) } else if (activeTab.successorTabId !== target.id) { browser.tabs.moveInSuccession([activeTab.id], target.id).catch(err => {