Don't let QR.captcha.captchas become undefined.
This commit is contained in:
parent
79c1c1adc1
commit
9c4405fd8c
@ -96,7 +96,7 @@ QR.captcha =
|
||||
$.rm @nodes.container if @nodes.container
|
||||
delete @nodes.container
|
||||
|
||||
sync: (captchas) ->
|
||||
sync: (captchas=[]) ->
|
||||
@captchas = captchas
|
||||
@clear()
|
||||
@count()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user