Skip to content

Commit e48e7ca

Browse files
committed
test: Fixed test test_Glance_Basic_Close, b=(no-bug), c=split-view
1 parent 015cdad commit e48e7ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/zen/split-view/ZenViewSplitter.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,6 +1139,7 @@ class ZenViewSplitter extends ZenDOMOperatedFeature {
11391139
* Deactivates the split view.
11401140
*/
11411141
deactivateCurrentSplitView() {
1142+
if (this.currentView < 0) return;
11421143
this.setTabsDocShellState(this._data[this.currentView].tabs, false);
11431144
for (const tab of this._data[this.currentView].tabs) {
11441145
const container = tab.linkedBrowser.closest('.browserSidebarContainer');

0 commit comments

Comments
 (0)