Chat Overlay on global site done - needs to have chat hide still
This commit is contained in:
parent
d3bd2fce22
commit
cd03048cb3
5 changed files with 38 additions and 31 deletions
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue