Fixed closing glance

This commit is contained in:
mr. M
2024-11-10 17:44:12 +01:00
parent 63a808b306
commit 282c3fab8c

View File

@@ -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;