set opened reader tab index on state restore (#3357)

Fixes: #3353
This commit is contained in:
abaevbog 2023-08-28 23:29:41 -04:00 committed by GitHub
parent 85cade3fb2
commit ae1c8bd059
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,6 +156,7 @@ var Zotero_Tabs = new function () {
null,
{
title: tab.title,
tabIndex: i,
openInBackground: !tab.selected,
secondViewState: tab.data.secondViewState
}