From ae1c8bd0597c3dee31fb0efb35fb47ff7c208156 Mon Sep 17 00:00:00 2001 From: abaevbog Date: Mon, 28 Aug 2023 23:29:41 -0400 Subject: [PATCH] set opened reader tab index on state restore (#3357) Fixes: #3353 --- chrome/content/zotero/tabs.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/tabs.js b/chrome/content/zotero/tabs.js index 990ea4094e..9577369c84 100644 --- a/chrome/content/zotero/tabs.js +++ b/chrome/content/zotero/tabs.js @@ -156,6 +156,7 @@ var Zotero_Tabs = new function () { null, { title: tab.title, + tabIndex: i, openInBackground: !tab.selected, secondViewState: tab.data.secondViewState }