mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-06 09:56:36 +00:00
Merge pull request #3113 from kristijanribaric/fix-pinned-tabs-showing-in-wrong-workspace
(feat) Hide pinned tabs not in active workspace
This commit is contained in:
@@ -196,6 +196,10 @@
|
|||||||
|
|
||||||
gBrowser.pinTab(newTab);
|
gBrowser.pinTab(newTab);
|
||||||
|
|
||||||
|
if(newTab.getAttribute("zen-workspace-id") !== ZenWorkspaces.activeWorkspace && newTab.getAttribute("zen-essential") !== "true") {
|
||||||
|
gBrowser.hideTab(newTab, undefined, true);
|
||||||
|
}
|
||||||
|
|
||||||
newTab.initialize();
|
newTab.initialize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user