feat: Moved the JS out of the modify page into its own file

Related to #9
This commit is contained in:
silver 2024-01-01 08:59:05 +00:00
parent 520464b73d
commit a7bde90cb8
6 changed files with 123 additions and 111 deletions

View file

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