mirror of
https://github.com/zen-browser/desktop.git
synced 2026-02-17 17:08:23 +00:00
fix: correct typo in essential tab attribute to prevent changing selected tab
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user