Skip to content

Commit

Permalink
chore: fix newverisonindicator opening version history modal
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed Mar 12, 2024
1 parent c1c0f45 commit 04e2774
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions frontend/src/ts/event-handlers/footer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ document
});
});

document
.querySelector("footer #newVersionIndicator")
?.addEventListener("click", (e) => {
e.stopPropagation();
document.querySelector("#newVersionIndicator")?.classList.add("hidden");
});

document
.querySelector("footer .currentVersion")
?.addEventListener("click", (e) => {
Expand Down Expand Up @@ -64,9 +71,3 @@ document
?.addEventListener("click", () => {
ContactModal.show();
});

document
.querySelector("footer #newVersionIndicator")
?.addEventListener("click", () => {
document.querySelector("#newVersionIndicator")?.classList.add("hidden");
});

0 comments on commit 04e2774

Please sign in to comment.