From 1f66e1ce63b1f05945de3c68a0f159ad8a43c003 Mon Sep 17 00:00:00 2001 From: midblep Date: Thu, 3 Feb 2022 20:07:17 +0100 Subject: [PATCH] quick hotfixes --- src/lib/Construction.svelte | 2 +- src/lib/ThemeSwitcher.svelte | 2 +- src/lib/header/Nav.svelte | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/Construction.svelte b/src/lib/Construction.svelte index 9cfeed7..aa67e41 100644 --- a/src/lib/Construction.svelte +++ b/src/lib/Construction.svelte @@ -20,7 +20,7 @@ classes.remove("hidden"); } else { classes.add("hidden"); - classes.adremoved("block"); + classes.remove("block"); } } diff --git a/src/lib/ThemeSwitcher.svelte b/src/lib/ThemeSwitcher.svelte index 5869843..c06a740 100644 --- a/src/lib/ThemeSwitcher.svelte +++ b/src/lib/ThemeSwitcher.svelte @@ -32,7 +32,7 @@ document.cookie = "theme=light"; } else { if (theme == "light") setLight(); - else if (theme == "dark") setDark(); + if (theme == "dark") setDark(); } }); diff --git a/src/lib/header/Nav.svelte b/src/lib/header/Nav.svelte index 8dc96d3..f22a794 100644 --- a/src/lib/header/Nav.svelte +++ b/src/lib/header/Nav.svelte @@ -1,4 +1,5 @@