Oopsie checking if config exists didnt work (It is done by checking if username is not empty lol)

This commit is contained in:
MrMasrozYTLIVE 2024-06-09 09:46:42 +03:00
parent 1271c48571
commit a9f50e892b

2
app.js
View File

@ -101,7 +101,7 @@ async function initialize() {
});
const registerDiv = document.querySelector('#register');
if (registerDiv && !config.userName) {
if (registerDiv && config.userName !== '') {
registerDiv.classList.remove('hidden');
}