Update forced anon detection.

This commit is contained in:
ccd0 2014-10-02 00:36:21 -07:00
parent fbe9f219fb
commit 9497025824

View File

@ -466,7 +466,7 @@ QR =
$.addClass QR.nodes.sub, 'force-show'
QR.nodes.email.placeholder = 'E-mail'
QR.forcedAnon = !!$ '.postForm input[name=name][type=hidden]'
QR.forcedAnon = !!$ 'form[name="post"] input[name="name"][type="hidden"]'
if QR.forcedAnon
$.addClass QR.nodes.el, 'forced-anon'