Prevent momentary display of previous image when setting up captcha for a second time.
This commit is contained in:
parent
132a75b800
commit
ee9b589a5f
@ -73,6 +73,7 @@ Captcha.v1 =
|
||||
beforeSetup: ->
|
||||
{img, input} = @nodes
|
||||
img.parentNode.hidden = true
|
||||
img.hidden = true
|
||||
input.value = ''
|
||||
input.placeholder = 'Focus to load reCAPTCHA'
|
||||
@count()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user