mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-10 23:55:30 +02:00
Formatted ebdc9368da
This commit is contained in:
parent
ebdc9368da
commit
37a985c936
1 changed files with 2 additions and 1 deletions
|
@ -1684,7 +1684,8 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||||
if (!tabToSelect && gBrowser.visibleTabs.length) {
|
if (!tabToSelect && gBrowser.visibleTabs.length) {
|
||||||
tabToSelect = gBrowser.visibleTabs[gBrowser.visibleTabs.length - 1];
|
tabToSelect = gBrowser.visibleTabs[gBrowser.visibleTabs.length - 1];
|
||||||
}
|
}
|
||||||
if (tabToSelect?.hasAttribute('zen-essential')) { // Never select an essential tab
|
if (tabToSelect?.hasAttribute('zen-essential')) {
|
||||||
|
// Never select an essential tab
|
||||||
tabToSelect = null;
|
tabToSelect = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue