fix css path for Dark theme
This commit is contained in:
parent
a0d12703ca
commit
529527c1c0
@ -312,9 +312,9 @@ function switchTheme() {
|
|||||||
|
|
||||||
function setPageTheme(theme) {
|
function setPageTheme(theme) {
|
||||||
if (theme === "light")
|
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")
|
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() {
|
function togglePlayPause() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user