Fix bug where adding a captcha to the cache in one tab could revert captchas used or added in other tabs.
This commit is contained in:
parent
792267954d
commit
9a7ebacfae
@ -166,6 +166,7 @@ Captcha.v1 =
|
||||
save: ->
|
||||
return unless /\S/.test(response = @nodes.input.value)
|
||||
@nodes.input.value = ''
|
||||
$.forceSync 'captchas'
|
||||
@captchas.push
|
||||
challenge: @nodes.img.alt
|
||||
response: response
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user