summaryrefslogtreecommitdiff
path: root/templates/main.js
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-11-16 16:33:50 +1100
committerSavetheinternet <savetheinternet@tinyboard.org>2011-11-16 16:33:50 +1100
commit4c145b28bcce7850b766b02576b90cc3f69d1a25 (patch)
treeb04ec3dc581cf5bd7b99dca296d037c085b9ccc6 /templates/main.js
parent67ab17e716fdd0e5ef637317c54a0073018c792d (diff)
Place stylesheet selector as the last element, not the second last.
Diffstat (limited to 'templates/main.js')
-rw-r--r--templates/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/main.js b/templates/main.js
index 1ebe32da..02c87e40 100644
--- a/templates/main.js
+++ b/templates/main.js
@@ -177,7 +177,7 @@ function init()
newElement.appendChild(style);
}
- document.getElementsByTagName('body')[0].insertBefore(newElement, document.getElementsByTagName('body')[0].lastChild)
+ document.getElementsByTagName('body')[0].insertBefore(newElement, document.getElementsByTagName('body')[0].lastChild.nextSibling)
if(document.forms.postcontrols) {
document.forms.postcontrols.password.value = localStorage.password;