Don't warn on posting without captcha when "Verification not required."
This commit is contained in:
parent
c98f3ba8dd
commit
4e37f21f73
@ -60,7 +60,7 @@ Captcha.t =
|
||||
if @nodes.container
|
||||
for key in ['t-response', 't-challenge']
|
||||
response[key] = $("[name='#{key}']", @nodes.container).value
|
||||
if !response['t-response']
|
||||
if !response['t-response'] and !((el = $('#t-msg')) and /Verification not required/i.test(el.textContent))
|
||||
response = null
|
||||
response
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user