mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-08 08:19:59 +02:00
Fixed closing the last tab of a workspace not opening a new tab when zen.workspaces.open-new-tab-if-last-unpinned-tab-is-closed
is set to true
This commit is contained in:
parent
a5d1537b75
commit
e01af2fe97
1 changed files with 1 additions and 1 deletions
|
@ -430,7 +430,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
|||
|
||||
let tabs = gBrowser.tabs.filter(
|
||||
(t) =>
|
||||
t.getAttribute('zen-workspace-id') === workspaceID &&
|
||||
(t.getAttribute('zen-workspace-id') === workspaceID || t.hasAttribute("zen-essential")) &&
|
||||
(!shouldOpenNewTabIfLastUnpinnedTabIsClosed || !t.pinned || t.getAttribute('pending') !== 'true')
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue