From 47a9427a6e6ac2346b97675efd7fb99c57893059 Mon Sep 17 00:00:00 2001 From: Physcik Date: Fri, 26 Dec 2025 14:31:37 +0500 Subject: List elements --- static/common.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'static/common.js') diff --git a/static/common.js b/static/common.js index 1d6234b..e5a278e 100644 --- a/static/common.js +++ b/static/common.js @@ -11,12 +11,14 @@ function setLightMode() { swapClasses("dark", "light"); isLightMode = true; document.getElementById("toggleIcon").src = "static/toggle.svg" + document.getElementById("homeIcon").src = "static/home_dark.svg" } function setDarkMode() { swapClasses("light", "dark"); isLightMode = false; document.getElementById("toggleIcon").src = "static/toggle_dark.svg" + document.getElementById("homeIcon").src = "static/home.svg" } function swapClasses(baseClass, newClass) { -- cgit v1.3