mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-05 09:26:34 +00:00
Compare commits
1 Commits
1.16.3b
...
folder-ani
Author | SHA1 | Date | |
---|---|---|---|
![]() |
4340f1bc77 |
@@ -117,6 +117,10 @@
|
|||||||
return activeGroups;
|
return activeGroups;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get childActiveGroups() {
|
||||||
|
return Array.from(this.querySelectorAll('zen-folder[has-active]'));
|
||||||
|
}
|
||||||
|
|
||||||
rename() {
|
rename() {
|
||||||
if (!document.documentElement.hasAttribute('zen-sidebar-expanded')) {
|
if (!document.documentElement.hasAttribute('zen-sidebar-expanded')) {
|
||||||
return;
|
return;
|
||||||
@@ -240,9 +244,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
async #unloadAllActiveTabs(event, noClose = false) {
|
async #unloadAllActiveTabs(event, noClose = false) {
|
||||||
for (const tab of this.tabs) {
|
await gZenPinnedTabManager._onCloseTabShortcut(event, this.tabs, {
|
||||||
await gZenPinnedTabManager._onCloseTabShortcut(event, tab, { noClose });
|
noClose,
|
||||||
}
|
folderToUnload: this,
|
||||||
|
});
|
||||||
this.activeTabs = [];
|
this.activeTabs = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user