From 4432fbcee01a3e78fc3ff176077a8f784ae8317f Mon Sep 17 00:00:00 2001 From: Vika Date: Thu, 2 Jan 2025 13:52:19 +0300 Subject: 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 --- templates/javascript/src/onboarding.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/javascript/src/onboarding.ts') 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") } }); -- cgit 1.4.1