diff --git a/chat.js b/chat.js index 6efd956..173bdd6 100644 --- a/chat.js +++ b/chat.js @@ -25,6 +25,7 @@ form.addEventListener("submit", async function (event) { printText(mismatch.bold()) logout() localStorage.removeItem('username') + form.reset() } })