Skip to content

Commit

Permalink
Maintain windowId
Browse files Browse the repository at this point in the history
  • Loading branch information
stoically authored and Perflyst committed Apr 11, 2018
1 parent db6316d commit c847e26
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions background.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ async function containGoogle (options) {
url: requestUrl.toString(),
cookieStoreId: googleCookieStoreId,
active: tab.active,
index: tab.index
index: tab.index,
windowId: tab.windowId
});
browser.tabs.remove(options.tabId);
return {cancel: true};
Expand All @@ -211,7 +212,8 @@ async function containGoogle (options) {
browser.tabs.create({
url: requestUrl.toString(),
active: tab.active,
index: tab.index
index: tab.index,
windowId: tab.windowId
});
browser.tabs.remove(options.tabId);
return {cancel: true};
Expand Down

0 comments on commit c847e26

Please sign in to comment.