fix: correct typo in essential tab attribute to prevent changing selected tab

This commit is contained in:
mr. M
2024-11-13 23:33:58 +01:00
parent 6185f421b8
commit ec433fa852

View File

@@ -1122,7 +1122,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
}
if (firstTab) {
// Don't change the selected tab if it's an essential tab, it becomes annoying
if (!gBrowser.selectedTab.hasAttribute('zen-esential')) {
if (!gBrowser.selectedTab.hasAttribute('zen-essential')) {
gBrowser.selectedTab = this._lastSelectedWorkspaceTabs[window.uuid] ?? firstTab;
}
}