update frontnd

This commit is contained in:
ben
2026-08-07 18:07:56 +02:00
parent 40ffb103ed
commit 1adafcbfb0
-6
View File
@@ -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");