mirror of https://github.com/calzoneman/sync.git
Fix theme preference on login frame
This commit is contained in:
parent
e0463fe6a3
commit
e030a2bfa6
|
@ -47,7 +47,7 @@
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
var theme = readCookie("cytube_theme") || "default";
|
var theme = localStorage.getItem("theme") || "default";
|
||||||
if(theme != "default") {
|
if(theme != "default") {
|
||||||
$("<link/>").attr("rel", "stylesheet")
|
$("<link/>").attr("rel", "stylesheet")
|
||||||
.attr("type", "text/css")
|
.attr("type", "text/css")
|
||||||
|
|
Loading…
Reference in New Issue