@unabridged/midwest 0.10.1 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -536,6 +536,11 @@ class Banner extends Controller {
536
536
  this.element.classList.add("visible");
537
537
  }
538
538
  close() {
539
+ if (!this.element.classList.contains("animated")) {
540
+ this.element.style.display = "none";
541
+ return;
542
+ }
543
+ this.element.classList.remove("shown");
539
544
  this.element.classList.add("closing");
540
545
  setTimeout(() => {
541
546
  this.element.classList.add("closed");