From a9f50e892bdf6451ad70534b3ad72846f27b718e Mon Sep 17 00:00:00 2001 From: MrMasrozYTLIVE <61359286+MrMasrozYTLIVE@users.noreply.github.com> Date: Sun, 9 Jun 2024 09:46:42 +0300 Subject: [PATCH] Oopsie checking if config exists didnt work (It is done by checking if username is not empty lol) --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 7098498..dc224a3 100644 --- a/app.js +++ b/app.js @@ -101,7 +101,7 @@ async function initialize() { }); const registerDiv = document.querySelector('#register'); - if (registerDiv && !config.userName) { + if (registerDiv && config.userName !== '') { registerDiv.classList.remove('hidden'); }