mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 21:19:57 +02:00
Refactor ZenGlanceManager.mjs to simplify closing of glance by removing unnecessary animation option
This commit is contained in:
parent
7112ae0f9e
commit
458bb54a34
1 changed files with 1 additions and 3 deletions
|
@ -39,9 +39,7 @@
|
||||||
onUnload() {
|
onUnload() {
|
||||||
// clear everything
|
// clear everything
|
||||||
if (this.#currentBrowser) {
|
if (this.#currentBrowser) {
|
||||||
gBrowser.removeTab(this.#currentTab, {
|
gBrowser.removeTab(this.#currentTab);
|
||||||
animate: false,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue