add hcaptcha reset
This commit is contained in:
parent
1479492753
commit
1a6bf78e49
|
@ -147,6 +147,7 @@ form.addEventListener("submit", function(event) {
|
||||||
console.log('Success:', data);
|
console.log('Success:', data);
|
||||||
showMessage('Form submitted successfully!', false);
|
showMessage('Form submitted successfully!', false);
|
||||||
form.reset();
|
form.reset();
|
||||||
|
hcaptcha.reset();
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.error('Error:', error);
|
console.error('Error:', error);
|
||||||
|
|
Loading…
Reference in New Issue