pis #2

Merged
fred.boniface merged 76 commits from pis into main 2023-05-06 21:53:45 +01:00
Showing only changes of commit 14752b4f42 - Show all commits

View File

@ -11,7 +11,9 @@ ifAlreadyRegistered();
hideLoading(); hideLoading();
async function ifAlreadyRegistered() { // If already registered, show this on the page 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.getElementsByName("eml")[0].placeholder = "Registered";
document.getElementById("reg_text").textContent = "You are already registered"; document.getElementById("reg_text").textContent = "You are already registered";
document.getElementById("reg_button").textContent = "Log Out"; document.getElementById("reg_button").textContent = "Log Out";