summaryrefslogtreecommitdiff
path: root/static/common.js
diff options
context:
space:
mode:
authorPhyscik <mynameisgennadiy@vk.com>2025-12-26 14:31:37 +0500
committerPhyscik <mynameisgennadiy@vk.com>2025-12-26 14:31:37 +0500
commit47a9427a6e6ac2346b97675efd7fb99c57893059 (patch)
tree0629c04fc04eb0eea7c748c84b63547613b687aa /static/common.js
parentb83521455bb83f4c7c88708a592079701dee7e89 (diff)
List elements
Diffstat (limited to 'static/common.js')
-rw-r--r--static/common.js2
1 files changed, 2 insertions, 0 deletions
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) {