Fix assignment index loading at the end of the tab strip. Fixes #672.
This commit is contained in:
@@ -82,6 +82,7 @@ load();
|
|||||||
async function openInContainer(redirectUrl, cookieStoreId) {
|
async function openInContainer(redirectUrl, cookieStoreId) {
|
||||||
const tab = await getCurrentTab();
|
const tab = await getCurrentTab();
|
||||||
await browser.tabs.create({
|
await browser.tabs.create({
|
||||||
|
index: tab[0].index + 1,
|
||||||
cookieStoreId,
|
cookieStoreId,
|
||||||
url: redirectUrl
|
url: redirectUrl
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user