Skip to content

Commit

Permalink
Merge pull request kintesh#133 from real-or-random/keep-props
Browse files Browse the repository at this point in the history
Keep more properties when re-opening tabs
  • Loading branch information
kintesh authored Nov 7, 2020
2 parents 96f1414 + 061baff commit fba8cb0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/containers.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ const createTab = (url, newTabIndex, currentTabId, openerTabId, cookieStoreId) =
index: newTabIndex,
cookieStoreId,
active: currentTab.active,
pinned: currentTab.pinned,
discarded: currentTab.discarded,
openInReaderMode: currentTab.isInReaderMode,
};
// Passing the openerTabId without a cookieStoreId
// creates a tab in the same container as the opener
Expand Down

0 comments on commit fba8cb0

Please sign in to comment.