Skip to content

Bug fix: "execute" type checking #9

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

Merged
merged 4 commits into from
Apr 9, 2019
Merged

Bug fix: "execute" type checking #9

merged 4 commits into from
Apr 9, 2019

Conversation

sedlukha
Copy link
Contributor

There is a bug if you try to load the page with reCaptcha after hard refresh:

TypeError: window.grecaptcha.execute is not a function

Not sure about the reason for this problem, but everything works fine after "execute" type checking.

@dachinat
Copy link

Can this be merged?

@narek118
Copy link
Contributor

@sedlukha Please fix the conflicts

@sedlukha
Copy link
Contributor Author

@sedlukha Please fix the conflicts

check this out

@MogilevichDmitry
Copy link

Guys, please merge this PR

@fabiovalse
Copy link

The merge is really needed. On slow connection, "TypeError: window.grecaptcha.execute is not a function" is always thrown. It seems that the ReCaptcha component is rendered before the library is actually ready to be used.

@narek118 narek118 merged commit e52e8dc into codeep:master Apr 9, 2019
@fabiovalse
Copy link

Are you planning to release a 1.0.3 version on npm?

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

Successfully merging this pull request may close these issues.

5 participants