mirror of
https://github.com/zen-browser/desktop.git
synced 2026-07-19 23:21:09 +00:00
feat: Hide tab in active folder when it's discarded, b=no-bug, c=tabs
This commit is contained in:
@@ -722,6 +722,7 @@
|
||||
if (selectedTab.hasAttribute('glance-id')) {
|
||||
break;
|
||||
}
|
||||
await gZenFolders.collapseVisibleTab(selectedTab.group);
|
||||
await gBrowser.explicitUnloadTabs([selectedTab]);
|
||||
selectedTab.removeAttribute('discarded');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user