add messages

This commit is contained in:
biglyderv 2024-11-25 14:12:44 -05:00
parent d5daf958cf
commit a9a0996e77
11 changed files with 220 additions and 10 deletions

View file

@ -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;