Fix theme preference on login frame

This commit is contained in:
calzoneman 2013-06-27 16:09:36 -04:00
parent e0463fe6a3
commit e030a2bfa6

View file

@ -47,7 +47,7 @@
}
return null;
}
var theme = readCookie("cytube_theme") || "default";
var theme = localStorage.getItem("theme") || "default";
if(theme != "default") {
$("<link/>").attr("rel", "stylesheet")
.attr("type", "text/css")