From 529527c1c080a815fe15390dec3be5ceb537d118 Mon Sep 17 00:00:00 2001 From: Azlux Date: Thu, 30 Apr 2020 10:04:52 +0200 Subject: [PATCH] fix css path for Dark theme --- static/js/custom.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/custom.js b/static/js/custom.js index 06e86db..a593b0c 100644 --- a/static/js/custom.js +++ b/static/js/custom.js @@ -312,9 +312,9 @@ function switchTheme() { function setPageTheme(theme) { if (theme === "light") - document.getElementById("pagestyle").setAttribute("href", "../static/css/bootstrap.min.css"); + document.getElementById("pagestyle").setAttribute("href", "static/css/bootstrap.min.css"); else if (theme === "dark") - document.getElementById("pagestyle").setAttribute("href", "../static/css/bootstrap.darkly.min.css"); + document.getElementById("pagestyle").setAttribute("href", "static/css/bootstrap.darkly.min.css"); } function togglePlayPause() {