robiveli/js-captcha

Syntax error in demo source code

Closed this issue · 4 comments

There is a syntax error in the demo source code that appears in the jPopup on the jCaptcha website.

The closing curly bracket of the callback function is missing.
See the attached screenshot.
screen shot 2018-05-16 at 16 32 04

The error needs to be fixed in src/index.html and in dist/index.html.

I think need replace setCaptcha( to setCaptcha.call(this, .

@rodrigobdz good catch, fixed!

Could you link the commit that fixed it? @robiveli