From 58fafe88bf64f0dde056e4beca6960263ecc0901 Mon Sep 17 00:00:00 2001 From: Kosztyk <36381705+Kosztyk@users.noreply.github.com> Date: Sun, 11 Jan 2026 23:45:36 +0200 Subject: [PATCH] Update theme-init.js --- public/theme-init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/theme-init.js b/public/theme-init.js index 53b8081..60a688f 100644 --- a/public/theme-init.js +++ b/public/theme-init.js @@ -13,7 +13,7 @@ } else { document.documentElement.removeAttribute("data-theme"); } - } catch (_e) { + } catch { // If localStorage is blocked, just fall back to light theme document.documentElement.removeAttribute("data-theme"); }