Don't let QR.captcha.captchas become undefined.

This commit is contained in:
ccd0 2014-12-09 04:51:15 -08:00
parent 79c1c1adc1
commit 9c4405fd8c

View File

@ -96,7 +96,7 @@ QR.captcha =
$.rm @nodes.container if @nodes.container
delete @nodes.container
sync: (captchas) ->
sync: (captchas=[]) ->
@captchas = captchas
@clear()
@count()