From: Mathis Mensing Date: Wed, 5 Apr 2023 07:00:53 +0000 (+0200) Subject: fix: favicon location X-Git-Tag: 4.6.0~14^2~20 X-Git-Url: https://git.p6c8.net/jirafeau_project.git/commitdiff_plain/4ce96e7519f384ccd7e232db2802aa704636a560?ds=sidebyside;hp=d476bcd5e359b590b36e7372833e0e6ebd419587 fix: favicon location --- 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() {