Attempt to fix recaptcha issue

This commit is contained in:
Manos Katsomallos 2017-10-30 15:23:42 +01:00
parent 8048c18f91
commit c8159cc034
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@
================================================== -->
<script src="js/modernizr.js"></script>
<!-- CAPTCHA -->
<script src='https://www.google.com/recaptcha/api.js'></script>
<script src="https://www.google.com/recaptcha/api.js?onload=vcRecaptchaApiLoaded&render=explicit" async defer></script>
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

View File

@ -171,9 +171,9 @@ jQuery(document).ready(function($) {
$('#image-loader').fadeOut();
$('#message-warning').html(msg);
$('#message-warning').fadeIn();
grecaptcha.reset();
$('form#contactForm button.submit').prop('disabled', false);
}
grecaptcha.reset();
}