diff --git a/www/login.html b/www/login.html
index 12d48ad1..6a3b086c 100644
--- a/www/login.html
+++ b/www/login.html
@@ -47,7 +47,7 @@
}
return null;
}
- var theme = readCookie("cytube_theme") || "default";
+ var theme = localStorage.getItem("theme") || "default";
if(theme != "default") {
$("").attr("rel", "stylesheet")
.attr("type", "text/css")