feat: Moved the JS out of the modify page into its own file
Related to #9
This commit is contained in:
parent
520464b73d
commit
a7bde90cb8
6 changed files with 123 additions and 111 deletions
|
@ -73,7 +73,7 @@
|
|||
return;
|
||||
}
|
||||
|
||||
let data = req.json();
|
||||
let data = await req.json();
|
||||
if (data.result === 'error') {
|
||||
document.getElementById('formStatus').innerHTML = `<span style='background-color: red; color: white'>${data.error}</span>`;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue