mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-31 21:01:55 +00:00
Fixed closing glance
This commit is contained in:
@@ -191,8 +191,7 @@
|
||||
this.lastCurrentTab.removeAttribute("zen-glance-tab");
|
||||
|
||||
gBrowser.tabContainer._invalidateCachedTabs();
|
||||
this.lastCurrentTab.closing = true;
|
||||
gBrowser.removeTab(this.lastCurrentTab, { animate: false });
|
||||
gBrowser.removeTab(this.lastCurrentTab, { animate: true });
|
||||
|
||||
this.#currentTab = null;
|
||||
this.#currentBrowser = null;
|
||||
|
||||
Reference in New Issue
Block a user