Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: grecaptcha is not defined #393

Open
arslanmurtaza opened this issue Jun 17, 2021 · 3 comments
Open

ReferenceError: grecaptcha is not defined #393

arslanmurtaza opened this issue Jun 17, 2021 · 3 comments

Comments

@arslanmurtaza
Copy link

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.)

@jclusso
Copy link

jclusso commented Jun 17, 2021

I noticed this today as well. All of a sudden on 5/17 my actions stopped firing.

@arslanmurtaza
Copy link
Author

arslanmurtaza commented Jun 18, 2021

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.

@woto
Copy link

woto commented Dec 27, 2021

Same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants