This also needs a $.forceSync.
This commit is contained in:
parent
5476f6a61f
commit
a082218741
@ -145,6 +145,7 @@ QR.captcha =
|
|||||||
|
|
||||||
clear: ->
|
clear: ->
|
||||||
return unless @captchas.length
|
return unless @captchas.length
|
||||||
|
$.forceSync 'captchas'
|
||||||
now = Date.now()
|
now = Date.now()
|
||||||
for captcha, i in @captchas
|
for captcha, i in @captchas
|
||||||
break if captcha.timeout > now
|
break if captcha.timeout > now
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user