From 1adafcbfb023f7da98c09fb4f70b1ee1a055583e Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 7 Aug 2026 18:07:56 +0200 Subject: [PATCH] update frontnd --- frontend/www/app.js | 6 ------ 1 file changed, 6 deletions(-) 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");