diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-04-22 18:17:48 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-04-22 18:17:48 +1000 |
| commit | 56ff8aafc0ef1b433fad3d0bd6a93dfe9e383d4c (patch) | |
| tree | 868cc5b10d7fb02d66f85f2bbc50d0ffe87a01cb /main.js | |
| parent | c4913ab883b30cd3eb2b4d6bb7854563e59bb482 (diff) | |
...
Diffstat (limited to 'main.js')
| -rw-r--r-- | main.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -97,12 +97,12 @@ function rememberStuff() { document.cookie = 'serv={};expires=0;path=/;';
}
if(saved[document.location]) {
- document.getElementsByTagName('form')[0].body.value = saved[document.location];
+ document.forms.post.body.value = saved[document.location];
}
}
if(localStorage.body) {
- document.getElementsByTagName('form')[0].body.value = localStorage.body;
+ document.forms.post.body.value = localStorage.body;
localStorage.body = '';
}
}
|
