Merge pull request #669 from jonathanKingston/assignment-index
Fix assignment index loading at the end of the tab strip.
This commit is contained in:
commit
6e2ed6393e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue