about summary refs log tree commit diff
path: root/templates/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'templates/javascript')
-rw-r--r--templates/javascript/src/onboarding.ts4
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")
       }
     });