Minor fix.

This commit is contained in:
ccd0 2014-12-21 15:49:16 -08:00
parent 7b09a3f8f2
commit a9e7240547

View File

@ -59,7 +59,7 @@ Captcha.v2 =
return @reload()
if @nodes.container
if @shouldFocus and iframe = $ 'textarea', @nodes.container
if @shouldFocus and iframe = $ 'iframe', @nodes.container
iframe.focus()
delete @shouldFocus
return