reset grecaptcha in case of error
rvr-nextgen/pipeline/pr-master This commit looks good

This commit is contained in:
bence committed 2023-05-08 18:48:43 +02:00
1 parent 726b1818d0
commit d1dee27191
1 file changed
+3
+3
View File
@@ -64,6 +64,9 @@ var RVR = {
formError.style.display = 'block'; formError.style.display = 'block';
formError.innerHTML = this.response.error.errorText; formError.innerHTML = this.response.error.errorText;
if (typeof grecaptcha !== 'undefined') {
grecaptcha.reset();
}
return; return;
} }