Merge pull request #754 from jonathanKingston/move-containers-fix
Fix moving of more than one tab to a new window. Fixes #746
This commit is contained in:
commit
0acf9cc0e6
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ const backgroundLogic = {
|
||||||
const window = await browser.windows.create({
|
const window = await browser.windows.create({
|
||||||
tabId: list.shift().id
|
tabId: list.shift().id
|
||||||
});
|
});
|
||||||
browser.tabs.move(list, {
|
browser.tabs.move(list.map((tab) => tab.id), {
|
||||||
windowId: window.id,
|
windowId: window.id,
|
||||||
index: -1
|
index: -1
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue