forked from leftypol/leftypol
bug fix for opera (and probably other browser?)
This commit is contained in:
parent
56ff8aafc0
commit
d88f13b55e
2 changed files with 4 additions and 4 deletions
4
main.js
4
main.js
|
@ -124,8 +124,8 @@ function init()
|
|||
|
||||
document.getElementsByTagName('body')[0].insertBefore(newElement, document.getElementsByTagName('body')[0].lastChild)
|
||||
|
||||
if(document.forms.delete) {
|
||||
document.forms.delete.password.value = localStorage.password;
|
||||
if(document.forms.postcontrols) {
|
||||
document.forms.postcontrols.password.value = localStorage.password;
|
||||
}
|
||||
|
||||
if (window.location.hash.indexOf('q') == 1)
|
||||
|
|
|
@ -124,8 +124,8 @@ function init()
|
|||
|
||||
document.getElementsByTagName('body')[0].insertBefore(newElement, document.getElementsByTagName('body')[0].lastChild)
|
||||
|
||||
if(document.forms.delete) {
|
||||
document.forms.delete.password.value = localStorage.password;
|
||||
if(document.forms.postcontrols) {
|
||||
document.forms.postcontrols.password.value = localStorage.password;
|
||||
}
|
||||
|
||||
if (window.location.hash.indexOf('q') == 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue