pis #2
@ -11,7 +11,9 @@ ifAlreadyRegistered();
|
||||
hideLoading();
|
||||
|
||||
async function ifAlreadyRegistered() { // If already registered, show this on the page
|
||||
if (! await isRegistered()) { return } else {
|
||||
if (! await isRegistered()) {
|
||||
return null
|
||||
} else {
|
||||
document.getElementsByName("eml")[0].placeholder = "Registered";
|
||||
document.getElementById("reg_text").textContent = "You are already registered";
|
||||
document.getElementById("reg_button").textContent = "Log Out";
|
||||
|
Reference in New Issue
Block a user