ReferenceError: grecaptcha is not defined
arslanmurtaza opened this issue · comments
Arslan Murtaza commented
It happens occasionally on our app, it's very rare but noticeable.
Seems to have problem with grecaptcha.ready
, do we have any fix for it?
I tried the callback implementation too, still the same error.
ruby: 2.6.6
rails: 6.0.3
recaptcha: 5.5.0 (I tried the latest one too, the issue is still there.)
Jarrett Lusso commented
I noticed this today as well. All of a sudden on 5/17 my actions stopped firing.
Arslan Murtaza commented
I created a PR for it's fix. #394
i.e execute recaptcha ready method only if grecaptcha is present. (loaded)
Waiting for approval from reviewer.
Руслан Корнев commented
Same issue.