Skip to content

Commit

Permalink
Merge pull request #62 from kendallcorner/master
Browse files Browse the repository at this point in the history
Fix for Issue #57
  • Loading branch information
Perflyst authored Aug 23, 2019
2 parents 624ec1d + 4269582 commit 29c1157
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions background.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,14 @@ function reopenTab ({url, tab, cookieStoreId}) {
url,
cookieStoreId,
active: tab.active,
index: tab.index,
index: tab.index + 1,
windowId: tab.windowId
});
browser.tabs.remove(tab.id);
// We do not want to erase google container if going from
// google container back to default.
if (!(isSearchPageURL(tab.url))) {
browser.tabs.remove(tab.id);
}
}

function isGoogleURL (url) {
Expand Down

0 comments on commit 29c1157

Please sign in to comment.