Fix bug in handling captcha errors when using captcha prerequest.
This commit is contained in:
parent
5ecbcc0311
commit
7e145daeb1
@ -36,7 +36,8 @@ Captcha.cache =
|
||||
isReply = (QR.selected.thread isnt 'new')
|
||||
if !$.event('RequestCaptcha', {isReply})
|
||||
@prerequested = true
|
||||
@submitCB = @save.bind(@)
|
||||
@submitCB = (captcha) =>
|
||||
@save captcha if captcha
|
||||
@updateCount()
|
||||
|
||||
haveCookie: ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user