Place stylesheet selector as the last element, not the second last.
This commit is contained in:
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;
|
||||
|
Reference in New Issue
Block a user