Refactor ZenGlanceManager.mjs to simplify closing of glance by removing unnecessary animation option

This commit is contained in:
mr. M 2024-10-31 22:25:19 +01:00
parent 7112ae0f9e
commit 458bb54a34
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB

View file

@ -39,9 +39,7 @@
onUnload() {
// clear everything
if (this.#currentBrowser) {
gBrowser.removeTab(this.#currentTab, {
animate: false,
});
gBrowser.removeTab(this.#currentTab);
}
}