Fix theme preference on login frame

This commit is contained in:
calzoneman 2013-06-27 16:09:36 -04:00
parent e0463fe6a3
commit e030a2bfa6
1 changed files with 1 additions and 1 deletions

View File

@ -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")