Archived
1
0

try fixing localstorage again

This commit is contained in:
Jeff Becker 2016-03-07 20:57:14 -05:00
parent 81a398ab26
commit 693bcdeffd
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -41,8 +41,8 @@ function enable_theme(prefix, name) {
if (theme) { if (theme) {
theme.href = prefix + "static/"+ name + ".css"; theme.href = prefix + "static/"+ name + ".css";
var st = get_storage(); var st = get_storage();
st.setItem("nntpchan_prefix", prefix); st.nntpchan_prefix = prefix;
st.setItem("nntpchan_theme", name); st.nntpchan_theme = name;
} }
} }