Started main page ui

This commit is contained in:
2023-07-17 20:14:00 +01:00
parent 3761fc1b1e
commit f24dcae19f
3 changed files with 16 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ async function login() {
});
// if failed red button
// else switch screen
if (response.status != 200) {
if (response.status !== 200) {
document.getElementById("loginSubmit").classList.add("error");
} else {
// switch screen