fix: Split views not selected still having the pending attribute, b=(no-bug), c=split-view, tabs

This commit is contained in:
mr. m
2025-04-17 00:36:43 +02:00
parent c671d1e389
commit e431170435
2 changed files with 3 additions and 2 deletions

View File

@@ -1379,6 +1379,7 @@ class ZenViewSplitter extends ZenDOMOperatedFeature {
}
const browser = tab.linkedBrowser.closest('.browserSidebarContainer');
if (active) {
tab.removeAttribute('pending');
browser.setAttribute('zen-split', 'true');
browser.addEventListener('dragstart', this.onBrowserDragStart);