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:
mr. m
2025-09-20 15:50:14 +02:00
committed by GitHub
parent d765b03365
commit 59dcf4c037

View File

@@ -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 = [];
}