diff options
author | Vika <vika@fireburn.ru> | 2025-01-02 13:52:19 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2025-01-02 13:52:19 +0300 |
commit | 4432fbcee01a3e78fc3ff176077a8f784ae8317f (patch) | |
tree | 07ea9ab24c808c89392b80422ba1d3816393854b /templates/javascript/src/onboarding.ts | |
parent | 95e00e79726f4c29230cf9e39c76ea15ad9adf46 (diff) | |
download | kittybox-4432fbcee01a3e78fc3ff176077a8f784ae8317f.tar.zst |
Vendor fonts into Kittybox
These fonts are licensed under OFL 1.1, which means I can freely redistribute them. Ain't that nice? Change-Id: Ide32286305680865652db17c8d482b5ac0f20a50
Diffstat (limited to 'templates/javascript/src/onboarding.ts')
-rw-r--r-- | templates/javascript/src/onboarding.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/javascript/src/onboarding.ts b/templates/javascript/src/onboarding.ts index 14c1185..436671e 100644 --- a/templates/javascript/src/onboarding.ts +++ b/templates/javascript/src/onboarding.ts @@ -4,9 +4,9 @@ function switchOnboardingCard(card: string) { (Array.from(document.querySelectorAll("form.onboarding > fieldset")) as HTMLElement[]) .map((node: HTMLElement) => { if (node.id == card) { - node.style.display = "block"; + node.classList.remove("inactive") } else { - node.style.display = "none"; + node.classList.add("inactive") } }); |