Prevent momentary display of previous image when setting up captcha for a second time.

This commit is contained in:
ccd0 2015-06-28 18:54:23 -07:00
parent 132a75b800
commit ee9b589a5f

View File

@ -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()