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() {
|
||||
// apply themes
|
||||
var st = get_storage();
|
||||
enable_theme(st.nntpchan_prefix, st.nntpchan_theme);
|
||||
// do other initialization here
|
||||
}
|
||||
|
||||
// apply themes
|
||||
var st = get_storage();
|
||||
enable_theme(st.nntpchan_prefix, st.nntpchan_theme);
|
||||
|
Reference in New Issue
Block a user