mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-06 01:46:35 +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);
|
||||
|
||||
if(newTab.getAttribute("zen-workspace-id") !== ZenWorkspaces.activeWorkspace && newTab.getAttribute("zen-essential") !== "true") {
|
||||
gBrowser.hideTab(newTab, undefined, true);
|
||||
}
|
||||
|
||||
newTab.initialize();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user