summaryrefslogtreecommitdiff
path: root/templates/main.js
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-08-20 18:22:37 -0400
committerczaks <marcin@6irc.net>2013-08-20 18:22:37 -0400
commitde035f4a7ecf3e1da0dc408cab424d8a9a81678e (patch)
tree1b46b1a80330de57e2b7d1cce3ae2c68bc7ae6ae /templates/main.js
parentf909fd190af4427dae1a8eddd4fa476c1243c433 (diff)
parentdb8173fe62829644a6cdf2e6a787b2ec2244c15b (diff)
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts: stylesheets/dark_roach.css stylesheets/style.css
Diffstat (limited to 'templates/main.js')
-rw-r--r--templates/main.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/main.js b/templates/main.js
index 05a8fd5f..7e8793cb 100644
--- a/templates/main.js
+++ b/templates/main.js
@@ -168,6 +168,9 @@ function dopost(form) {
if (form.elements['name']) {
localStorage.name = form.elements['name'].value.replace(/( |^)## .+$/, '');
}
+ if (form.elements['password']) {
+ localStorage.password = form.elements['password'].value;
+ }
if (form.elements['email'] && form.elements['email'].value != 'sage') {
localStorage.email = form.elements['email'].value;
}