From e1345a9151af5f308b168747e0cdfba949b9dcef Mon Sep 17 00:00:00 2001 From: Evandro Junior Date: Fri, 26 Jun 2015 10:56:12 -0300 Subject: [PATCH] Fix captcha ID --- index.html | 3 ++- js/main.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 6702f1f..26f92aa 100644 --- a/index.html +++ b/index.html @@ -438,7 +438,8 @@
-
+
+
diff --git a/js/main.js b/js/main.js index 7a04d8d..05aa4e8 100644 --- a/js/main.js +++ b/js/main.js @@ -1151,7 +1151,7 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun loginForm.find('.message').hide(); signupForm.find('#g-recaptcha').empty(); //grecaptcha.render(signupForm.find('#g-recaptcha')[0], {'sitekey' : window.recaptchaSiteKey }); - Recaptcha.create(window.recaptchaSiteKey, "captcha_v1", { theme: "red", callback: Recaptcha.focus_response_field } ); + Recaptcha.create(window.recaptchaSiteKey, "g-recaptcha", { theme: "red", callback: Recaptcha.focus_response_field } ); e.preventDefault(); }) -- libgit2 0.21.2