Being able to edit a timeline item fully working as currently tested.

Signed-off-by: rodude123 <rodude123@gmail.com>
This commit is contained in:
2022-10-09 23:32:50 +01:00
parent a5c7d16991
commit 7b04af165e
10 changed files with 163 additions and 44 deletions
+2 -2
View File
@@ -39,7 +39,7 @@ document.querySelector("#login form").addEventListener("submit", e =>
{
method: "POST",
body: loginData
}).then(res => res.json()).then(json =>
}).then(res => res.json().then(json =>
{
if (res.ok)
{
@@ -53,7 +53,7 @@ document.querySelector("#login form").addEventListener("submit", e =>
return;
}
showErrorMessage("Invalid username or password.", "login");
});
}));
return;
}
showErrorMessage("Please type in a username and password.", "login");