aws-lambda-blog icon indicating copy to clipboard operation
aws-lambda-blog copied to clipboard

Fix error on contact page where site key is undefined

Open splennon opened this issue 6 years ago • 0 comments

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

splennon avatar Mar 23 '18 00:03 splennon