Place stylesheet selector as the last element, not the second last.
This commit is contained in:
parent
67ab17e716
commit
4c145b28bc
3
main.js
3
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;
|
||||
@ -194,4 +194,3 @@ var RecaptchaOptions = {
|
||||
};
|
||||
|
||||
window.onload = init;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user