Always reset captcha after submit

This commit is contained in:
Manos Katsomallos 2017-10-30 15:10:10 +01:00
parent f147dfc08d
commit 8048c18f91

View File

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