mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-25 14:16:10 +00:00
chore: Rollback from new folder animation until release (#10451)
* chore: Rollback from new folder animation until release, b=no-bug, c=tabs, folders * chore: Revert changes for folder tabs unload, b=no-bug, c=folders
This commit is contained in:
@@ -144,10 +144,6 @@
|
||||
return activeGroups;
|
||||
}
|
||||
|
||||
get childActiveGroups() {
|
||||
return Array.from(this.querySelectorAll('zen-folder[has-active]'));
|
||||
}
|
||||
|
||||
rename() {
|
||||
if (!document.documentElement.hasAttribute('zen-sidebar-expanded')) {
|
||||
return;
|
||||
@@ -271,10 +267,9 @@
|
||||
}
|
||||
|
||||
async #unloadAllActiveTabs(event, noClose = false) {
|
||||
await gZenPinnedTabManager._onCloseTabShortcut(event, this.tabs, {
|
||||
noClose,
|
||||
folderToUnload: this,
|
||||
});
|
||||
for (const tab of this.tabs) {
|
||||
await gZenPinnedTabManager._onCloseTabShortcut(event, tab, { noClose });
|
||||
}
|
||||
this.activeTabs = [];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user