diff --git a/frontend/www/app.js b/frontend/www/app.js index f88244c..0845cd6 100644 --- a/frontend/www/app.js +++ b/frontend/www/app.js @@ -1117,8 +1117,6 @@ async function handleDeleteEvent(eventId){ } } -// ---------- settings / accessibility ---------- - const A11Y_DEFAULTS = { reducedMotion: false, highContrast: false, @@ -1247,8 +1245,6 @@ async function loadAsciiArt(){ } } -// ---------- theme ---------- - function toggleTheme(){ document.body.classList.toggle("dark"); @@ -1256,8 +1252,6 @@ function toggleTheme(){ localStorage.setItem("theme", theme); } -// ---------- init ---------- - let savedTheme = localStorage.getItem("theme"); if(savedTheme === "dark"){ document.body.classList.add("dark");