Chat Overlay on global site done - needs to have chat hide still

This commit is contained in:
NigeParis 2026-01-11 13:04:52 +01:00 committed by Maix0
parent d3bd2fce22
commit cd03048cb3
5 changed files with 38 additions and 31 deletions

View file

@ -393,7 +393,7 @@ clearText?.addEventListener("click", () => {
});
bquit?.addEventListener("click", () => {
showInfo('Nigel close the chat overlay please')
quitChat(socket);
});
// Enter key to send message
@ -418,3 +418,8 @@ chatButton!.addEventListener("click", () => {
}
});
document.addEventListener('click', () => {
if (socket) {
connected(socket);
}
});