Fixed pinning tabs rendering the browser useles (closes https://github.com/zen-browser/desktop/issues/4583)

This commit is contained in:
mr. M
2025-03-25 00:03:27 +01:00
parent bd5d3c00f1
commit 53ec2f15b6

View File

@@ -2291,7 +2291,11 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
if (!this._hasInitializedTabsStrip) {
const children = this.tabboxChildren;
children.pop(); // Remove the last child which is the new tab button
return children;
return [
...document.querySelectorAll('#zen-essentials-container tab'),
...document.querySelectorAll('#vertical-pinned-tabs-container tab'),
...children,
];
}
if (this._allStoredTabs) {