- removed refreshChat logging in browser
- fixed indentation
pull/21/head
Trivernis 6 years ago
parent fe401152a5
commit 5c7bf97995

@ -549,6 +549,7 @@ function addChatMessage(messageObject, player) {
msgSpan.setAttribute('class', 'chatMessage');
msgSpan.setAttribute('msg-type', messageObject.type);
msgSpan.setAttribute('msg-id', messageObject.id);
if (messageObject.type === "USER")
msgSpan.innerHTML = `
<span class="chatUsername">${messageObject.author.username}:</span>
@ -622,7 +623,6 @@ async function refreshChat() {
showError('Failed to refresh messages');
console.error(err);
}
console.log('Refresh Chat');
}
/**

Loading…
Cancel
Save