don't use main/onload for theme application
This commit is contained in:
parent
077b61270c
commit
68c071e318
@ -47,7 +47,9 @@ function enable_theme(prefix, name) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
// apply themes
|
// do other initialization here
|
||||||
var st = get_storage();
|
|
||||||
enable_theme(st.nntpchan_prefix, st.nntpchan_theme);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// apply themes
|
||||||
|
var st = get_storage();
|
||||||
|
enable_theme(st.nntpchan_prefix, st.nntpchan_theme);
|
||||||
|
Reference in New Issue
Block a user