mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-02 16:08:41 +00:00
fix: Test test_Split_View_Inside_Folder (#9902)
* fix: Test `test_Split_View_Inside_Folder` * fix: Extra `ungroupTab` call
This commit is contained in:
@@ -200,9 +200,6 @@ class nsZenViewSplitter extends nsZenDOMOperatedFeature {
|
||||
// We need to remove all remaining tabs from the group when unsplitting
|
||||
let remainingTabs = [...group.tabs]; // Copy array since we'll modify it
|
||||
for (let remainingTab of remainingTabs) {
|
||||
if (remainingTab.group && remainingTab.group.hasAttribute('split-view-group')) {
|
||||
gBrowser.ungroupTab(remainingTab);
|
||||
}
|
||||
this.resetTabState(remainingTab, forUnsplit);
|
||||
}
|
||||
this.removeGroup(groupIndex);
|
||||
|
Reference in New Issue
Block a user