add following
This commit is contained in:
parent
7bec5f61f0
commit
06ef3ce8e0
3 changed files with 20 additions and 14 deletions
|
@ -16,7 +16,7 @@ async function formClick(ev) {
|
|||
|
||||
let json = await fetched.json();
|
||||
|
||||
document.querySelector('.form-message').textContent = json.message;
|
||||
target.querySelector('.form-message').textContent = json.message;
|
||||
|
||||
if (json.redirect) {
|
||||
setTimeout(function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue