fix css path for Dark theme

This commit is contained in:
Azlux 2020-04-30 10:04:52 +02:00
parent a0d12703ca
commit 529527c1c0

View File

@ -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() {