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:
luke crouch 2017-08-23 12:40:11 -05:00 committed by GitHub
commit 0acf9cc0e6

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
});