|
|
@ -45,7 +45,7 @@ |
|
|
|
position: absolute; |
|
|
|
z-index: 1; |
|
|
|
top: 20px; |
|
|
|
right: 50px |
|
|
|
right: 50px; |
|
|
|
text-align: right; |
|
|
|
} |
|
|
|
.stats-box { |
|
|
@ -198,7 +198,7 @@ socket.on('text', (data) => { |
|
|
|
console.log('Text received: ',data); |
|
|
|
var chatlog = document.getElementById("chat"); |
|
|
|
var new_message = document.createElement('p'); |
|
|
|
new_message.innerHTML = data; |
|
|
|
new_message.innerHTML = data.data; |
|
|
|
chatlog.append(new_message); |
|
|
|
}); |
|
|
|
|
|
|
|