diff --git a/background/background.js b/background/background.js index c27c3241..35690c16 100644 --- a/background/background.js +++ b/background/background.js @@ -85,7 +85,7 @@ Object.assign(API, { tab = await getActiveTab(); return isTabReplaceable(tab, url) ? activateTab(tab, {url}) - : browser.tabs.create({url}); + : browser.tabs.create({url}).then(activateTab); // activateTab unminimizes the window }, /**