forked from ZenBrowserMirrors/zen-desktop
test: Fixed test test_Glance_Basic_Close
, b=(no-bug), c=split-view
This commit is contained in:
parent
015cdad2df
commit
e48e7caef1
1 changed files with 1 additions and 0 deletions
|
@ -1139,6 +1139,7 @@ class ZenViewSplitter extends ZenDOMOperatedFeature {
|
||||||
* Deactivates the split view.
|
* Deactivates the split view.
|
||||||
*/
|
*/
|
||||||
deactivateCurrentSplitView() {
|
deactivateCurrentSplitView() {
|
||||||
|
if (this.currentView < 0) return;
|
||||||
this.setTabsDocShellState(this._data[this.currentView].tabs, false);
|
this.setTabsDocShellState(this._data[this.currentView].tabs, false);
|
||||||
for (const tab of this._data[this.currentView].tabs) {
|
for (const tab of this._data[this.currentView].tabs) {
|
||||||
const container = tab.linkedBrowser.closest('.browserSidebarContainer');
|
const container = tab.linkedBrowser.closest('.browserSidebarContainer');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue