diff --git a/chrome/content/zotero/tabs.js b/chrome/content/zotero/tabs.js index fdc0d50403..2cc707dc9b 100644 --- a/chrome/content/zotero/tabs.js +++ b/chrome/content/zotero/tabs.js @@ -273,6 +273,8 @@ var Zotero_Tabs = new function () { } this._tabs.splice(tabIndex, 1); document.getElementById(tab.id).remove(); + // For unknown reason fx102, unlike 60, sometimes doesn't automatically update selected index + this.deck.selectedIndex = Array.from(this.deck.children).findIndex(x => x.id == this._selectedID); if (tab.onClose) { tab.onClose(); }