Browse Source

bug fix for opera (and probably other browser?)

pull/40/head
Savetheinternet 13 years ago
parent
commit
d88f13b55e
  1. 4
      main.js
  2. 4
      templates/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)

4
templates/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)

Loading…
Cancel
Save