mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-08 19:06:38 +00:00
Fixed showing wrong tab when changing workspaces
This commit is contained in:
@@ -1480,7 +1480,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
|||||||
}
|
}
|
||||||
// Find first suitable tab
|
// Find first suitable tab
|
||||||
else {
|
else {
|
||||||
tabToSelect = Array.from(visibleTabs).find((tab) => !tab.pinned);
|
tabToSelect = Array.from(visibleTabs).find((tab) => this._shouldShowTab(tab, window.uuid, containerId, workspaces));
|
||||||
}
|
}
|
||||||
|
|
||||||
const previousSelectedTab = gBrowser.selectedTab;
|
const previousSelectedTab = gBrowser.selectedTab;
|
||||||
|
Reference in New Issue
Block a user