summaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-04-22 18:24:09 +1000
committerSavetheinternet <savetheinternet@n0v4.com>2011-04-22 18:24:09 +1000
commitd88f13b55e758bb5cbb161df861f0bbda5bf1a6d (patch)
tree3930db80221a2dce025f87bc41ba0674b1a57670 /main.js
parent56ff8aafc0ef1b433fad3d0bd6a93dfe9e383d4c (diff)
bug fix for opera (and probably other browser?)
Diffstat (limited to 'main.js')
-rw-r--r--main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.js b/main.js
index c9c65b39..6da63177 100644
--- a/main.js
+++ b/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)