input[name=pwd] -> #postPassword

This commit is contained in:
Nicolas Stepien 2013-02-23 04:22:41 +01:00
parent 3ccc6bbe3f
commit dad6273520
2 changed files with 2 additions and 2 deletions

View File

@ -6395,7 +6395,7 @@
spoiler: reply.spoiler,
textonly: textOnly,
mode: 'regist',
pwd: (m = d.cookie.match(/4chan_pass=([^;]+)/)) ? decodeURIComponent(m[1]) : $('input[name=pwd]').value,
pwd: (m = d.cookie.match(/4chan_pass=([^;]+)/)) ? decodeURIComponent(m[1]) : $.id('postPassword').value,
recaptcha_challenge_field: challenge,
recaptcha_response_field: response
};

View File

@ -703,7 +703,7 @@ QR =
spoiler: reply.spoiler
textonly: textOnly
mode: 'regist'
pwd: if m = d.cookie.match(/4chan_pass=([^;]+)/) then decodeURIComponent m[1] else $('input[name=pwd]').value
pwd: if m = d.cookie.match(/4chan_pass=([^;]+)/) then decodeURIComponent m[1] else $.id('postPassword').value
recaptcha_challenge_field: challenge
recaptcha_response_field: response