diff --git a/main.js b/main.js index cef82687..d1d53b44 100644 --- a/main.js +++ b/main.js @@ -51,7 +51,7 @@ function citeReply(id) { document.getElementById('body').value += '>>' + id + '\n'; } -var selectedstyle = 'Yotsuba B'; +var selectedstyle = 'Yotsuba'; var styles = [ ['Yotsuba B', '/board/default.css'], ['Yotsuba', '/board/yotsuba.css'] @@ -87,15 +87,14 @@ function init() newElement.appendChild(style); } + document.getElementsByTagName('body')[0].insertBefore(newElement, document.getElementsByTagName('body')[0].lastChild) + if(!localStorage.password) localStorage.password = generatePassword(); - elements = document.getElementsByName('password'); - for(x=0;x
-
+ {mod?} {body} diff --git a/templates/main.js b/templates/main.js index 5e489166..bf880036 100644 --- a/templates/main.js +++ b/templates/main.js @@ -87,15 +87,14 @@ function init() newElement.appendChild(style); } + document.getElementsByTagName('body')[0].insertBefore(newElement, document.getElementsByTagName('body')[0].lastChild) + if(!localStorage.password) localStorage.password = generatePassword(); - elements = document.getElementsByName('password'); - for(x=0;x + {pm?
{pm}

} diff --git a/templates/thread.html b/templates/thread.html index b3d07c92..f857923f 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -88,7 +88,7 @@
-
+ {mod?} {body}