reset grecaptcha in case of error
mapguesser/pipeline/pr-develop This commit looks good

This commit is contained in:
bence committed 2023-09-25 21:19:32 +02:00
1 parent 5d367d5b35
commit 7fb75c9f25
1 file changed
+3
+3
View File
@@ -89,6 +89,9 @@ var MapGuesser = {
formError.style.display = 'block';
formError.innerHTML = this.response.error.errorText;
if (typeof grecaptcha !== 'undefined') {
grecaptcha.reset();
}
return;
}