openManage: unminimize windows

This commit is contained in:
tophf 2020-11-27 15:07:49 +03:00
parent 0972d366dc
commit cacb3177d5

View File

@ -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
},
/**