From 4ce96e7519f384ccd7e232db2802aa704636a560 Mon Sep 17 00:00:00 2001 From: Mathis Mensing Date: Wed, 5 Apr 2023 09:00:53 +0200 Subject: [PATCH 1/1] fix: favicon location --- lib/functions.js.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/functions.js.php b/lib/functions.js.php index 58623e6..3052bf0 100644 --- a/lib/functions.js.php +++ b/lib/functions.js.php @@ -805,14 +805,14 @@ function set_dark_mode() { let steel_sheet = ""; let shortcut_icon = ""; document.getElementById('stylesheet').href = steel_sheet; - document.getElementById('shortcut_icon').href = steel_sheet; + document.getElementById('shortcut_icon').href = shortcut_icon; } function set_light_mode() { let steel_sheet = ""; let shortcut_icon = ""; document.getElementById('stylesheet').href = steel_sheet; - document.getElementById('shortcut_icon').href = steel_sheet; + document.getElementById('shortcut_icon').href = shortcut_icon; } function color_scheme_preferences() { -- 2.34.1