openManage: unminimize windows

This commit is contained in:
tophf 2020-11-27 15:07:49 +03:00
parent 7fdbc755b4
commit 6067bb27d7

View File

@ -85,7 +85,7 @@ Object.assign(API, {
tab = await getActiveTab(); tab = await getActiveTab();
return isTabReplaceable(tab, url) return isTabReplaceable(tab, url)
? activateTab(tab, {url}) ? activateTab(tab, {url})
: browser.tabs.create({url}); : browser.tabs.create({url}).then(activateTab); // activateTab unminimizes the window
}, },
/** /**