reset grecaptcha in case of error
All checks were successful
mapguesser/pipeline/pr-develop This commit looks good
All checks were successful
mapguesser/pipeline/pr-develop This commit looks good
This commit is contained in:
parent
5d367d5b35
commit
7fb75c9f25
@ -89,6 +89,9 @@ var MapGuesser = {
|
||||
|
||||
formError.style.display = 'block';
|
||||
formError.innerHTML = this.response.error.errorText;
|
||||
if (typeof grecaptcha !== 'undefined') {
|
||||
grecaptcha.reset();
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user