add messages
This commit is contained in:
parent
d5daf958cf
commit
a9a0996e77
11 changed files with 220 additions and 10 deletions
|
@ -16,7 +16,9 @@ async function formClick(ev) {
|
|||
|
||||
let json = await fetched.json();
|
||||
|
||||
target.querySelector('.captcha').src += '&a=b';
|
||||
let c = target.querySelector('.captcha');
|
||||
|
||||
if (c) c.src += '&a=b';
|
||||
|
||||
target.querySelector('.form-message').textContent = json.message;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue