Commit d82b84f4c49595341c4dcfd06dcd2be14369da65
1 parent
65d5fc18
Exists in
master
and in
5 other branches
Removes old captcha
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
js/main.js
... | ... | @@ -1151,7 +1151,7 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun |
1151 | 1151 | signupForm.find(".password-confirmation").show(); |
1152 | 1152 | loginForm.find('.message').hide(); |
1153 | 1153 | signupForm.find('#g-recaptcha').empty(); |
1154 | - grecaptcha.render(signupForm.find('#g-recaptcha')[0], {'sitekey' : window.recaptchaSiteKey }); | |
1154 | + //grecaptcha.render(signupForm.find('#g-recaptcha')[0], {'sitekey' : window.recaptchaSiteKey }); | |
1155 | 1155 | e.preventDefault(); |
1156 | 1156 | }) |
1157 | 1157 | |
... | ... | @@ -1159,7 +1159,8 @@ define(['jquery', 'handlebars', 'fastclick', 'handlebars_helpers', 'piwik'], fun |
1159 | 1159 | var signupForm = $(this).parents('#signup-form'); |
1160 | 1160 | signupForm.hide(); |
1161 | 1161 | signupForm.siblings('#login-form').show(); |
1162 | - grecaptcha.reset(); | |
1162 | + //Reset captcha here | |
1163 | + //grecaptcha.reset(); | |
1163 | 1164 | e.preventDefault(); |
1164 | 1165 | }); |
1165 | 1166 | ... | ... |