fix: prevent changing selected tab for essential tabs and update version to 132.0.2

This commit is contained in:
mr. M
2024-11-13 23:23:49 +01:00
parent ab7ae3f89a
commit 6185f421b8
2 changed files with 5 additions and 2 deletions

View File

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

View File

@@ -5,7 +5,7 @@
"binaryName": "zen",
"version": {
"product": "firefox",
"version": "132.0.1"
"version": "132.0.2"
},
"buildOptions": {
"generateBranding": true