diff --git a/public_html/index.html b/public_html/index.html index 2e6c543..d2effe6 100644 --- a/public_html/index.html +++ b/public_html/index.html @@ -649,8 +649,8 @@ body::after{

Just A Rather Very Intelligent System

- - + +
@@ -979,8 +979,7 @@ function updateClock() { } // ── LOGIN ───────────────────────────────────────────────────────────── -document.getElementById('loginForm').addEventListener('submit', async (e) => { - e.preventDefault(); +async function doLogin() { const user = document.getElementById('loginUser').value; const pass = document.getElementById('loginPass').value; const errEl = document.getElementById('loginError'); @@ -1000,7 +999,7 @@ document.getElementById('loginForm').addEventListener('submit', async (e) => { } catch(err) { errEl.textContent = 'CONNECTION FAILED'; } -}); +} function showApp(name, greeting, silent = false) { document.getElementById('loginScreen').style.display = 'none';