mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-09 13:44:29 +08:00
chore: fix newverisonindicator opening version history modal
This commit is contained in:
parent
c1c0f45708
commit
04e277438c
1 changed files with 7 additions and 6 deletions
|
|
@ -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) => {
|
||||
|
|
@ -64,9 +71,3 @@ document
|
|||
?.addEventListener("click", () => {
|
||||
ContactModal.show();
|
||||
});
|
||||
|
||||
document
|
||||
.querySelector("footer #newVersionIndicator")
|
||||
?.addEventListener("click", () => {
|
||||
document.querySelector("#newVersionIndicator")?.classList.add("hidden");
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue