diff --git a/contrib/static/nntpchan.js b/contrib/static/nntpchan.js index 406287a..5448462 100644 --- a/contrib/static/nntpchan.js +++ b/contrib/static/nntpchan.js @@ -46,7 +46,8 @@ function enable_theme(prefix, name) { } } -document.onload = function() { +function main() { + // apply themes var st = get_storage(); enable_theme(st.nntpchan_prefix, st.nntpchan_theme); } diff --git a/contrib/templates/default/board.mustache b/contrib/templates/default/board.mustache index d57c5e2..2be0590 100644 --- a/contrib/templates/default/board.mustache +++ b/contrib/templates/default/board.mustache @@ -20,7 +20,7 @@