Reset hCaptcha after submit claim address form

This commit is contained in:
Joe Uhren
2024-03-20 19:44:05 -06:00
parent 9c57b4b37a
commit cfe60be3cf
+5
View File
@@ -118,6 +118,11 @@ block content
) {
// clear out the captcha to allow the form to be submitted again
grecaptcha.reset();
} else if (
'#{selected_captcha_name}' == 'hcaptcha'
) {
// clear out the captcha to allow the form to be submitted again
hcaptcha.reset()
}
$('button.btn-success').attr('disabled', false);