forked from ZenBrowserMirrors/zen-desktop
Undo essentials limit
This commit is contained in:
parent
663243264b
commit
7c7a911d1e
1 changed files with 1 additions and 3 deletions
|
@ -52,8 +52,6 @@
|
|||
}
|
||||
|
||||
class ZenPinnedTabManager extends ZenDOMOperatedFeature {
|
||||
MAX_ESSENTIALS_TABS = 12;
|
||||
|
||||
async init() {
|
||||
if (!this.enabled) {
|
||||
return;
|
||||
|
@ -1020,7 +1018,7 @@
|
|||
(tab.getAttribute('usercontextid') || 0) !=
|
||||
gZenWorkspaces.getActiveWorkspaceFromCache().containerTabId &&
|
||||
gZenWorkspaces.containerSpecificEssentials
|
||||
) && gBrowser._numZenEssentials < this.MAX_ESSENTIALS_TABS
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue