Working on Config system (Saving & Loading user data) #3

Merged
snxraven merged 16 commits from MiTask/LinkUp-P2P-Chat:main into main 2024-06-09 03:11:48 -04:00
Showing only changes of commit a9f50e892b - Show all commits

2
app.js
View File

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