diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-04-22 18:24:09 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-04-22 18:24:09 +1000 |
| commit | d88f13b55e758bb5cbb161df861f0bbda5bf1a6d (patch) | |
| tree | 3930db80221a2dce025f87bc41ba0674b1a57670 /templates | |
| parent | 56ff8aafc0ef1b433fad3d0bd6a93dfe9e383d4c (diff) | |
bug fix for opera (and probably other browser?)
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/main.js b/templates/main.js index 3c48c89b..a57ff972 100644 --- a/templates/main.js +++ b/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)
|
