bug fix for opera (and probably other browser?)
This commit is contained in:
parent
56ff8aafc0
commit
d88f13b55e
4
main.js
4
main.js
@ -124,8 +124,8 @@ function init()
|
|||||||
|
|
||||||
document.getElementsByTagName('body')[0].insertBefore(newElement, document.getElementsByTagName('body')[0].lastChild)
|
document.getElementsByTagName('body')[0].insertBefore(newElement, document.getElementsByTagName('body')[0].lastChild)
|
||||||
|
|
||||||
if(document.forms.delete) {
|
if(document.forms.postcontrols) {
|
||||||
document.forms.delete.password.value = localStorage.password;
|
document.forms.postcontrols.password.value = localStorage.password;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window.location.hash.indexOf('q') == 1)
|
if (window.location.hash.indexOf('q') == 1)
|
||||||
|
@ -124,8 +124,8 @@ function init()
|
|||||||
|
|
||||||
document.getElementsByTagName('body')[0].insertBefore(newElement, document.getElementsByTagName('body')[0].lastChild)
|
document.getElementsByTagName('body')[0].insertBefore(newElement, document.getElementsByTagName('body')[0].lastChild)
|
||||||
|
|
||||||
if(document.forms.delete) {
|
if(document.forms.postcontrols) {
|
||||||
document.forms.delete.password.value = localStorage.password;
|
document.forms.postcontrols.password.value = localStorage.password;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window.location.hash.indexOf('q') == 1)
|
if (window.location.hash.indexOf('q') == 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user