Fix moving of more than one tab to a new window. Fixes #746

This commit is contained in:
Jonathan Kingston 2017-08-22 18:54:32 +01:00
parent 29f078d2c9
commit da239237f7

View file

@ -120,7 +120,7 @@ const backgroundLogic = {
const window = await browser.windows.create({
tabId: list.shift().id
});
browser.tabs.move(list, {
browser.tabs.move(list.map((tab) => tab.id), {
windowId: window.id,
index: -1
});