Skip to content

Fix error on contact page where site key is undefined #22

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix error on contact page where site key is undefined #22

wants to merge 1 commit into from

Conversation

splennon
Copy link

In Contact.js there is an attribute called captcha_key in event, but line 26 of the js is referring to it as captcha_sitekey. Thus I confirmed that it is undefined in the browser rendered html.

This fix refers to the correct captcha_key and captcha on the contact page works now, where (I think) it could not have worked before.

My knowledge of this codebase is limited so you know what they say about advice :)

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.

1 participant