|
@@ -24,8 +24,8 @@ async function drawHistory(messageId=0) {
|
|
for(let message of messages.data) {
|
|
for(let message of messages.data) {
|
|
let msgDiv = document.createElement('div')
|
|
let msgDiv = document.createElement('div')
|
|
msgDiv.insertAdjacentHTML('beforeend', `
|
|
msgDiv.insertAdjacentHTML('beforeend', `
|
|
- <small style="color: slateblue;">${new Date(message.timestamp).toLocaleString()}</small>
|
|
|
|
- <div style="word-wrap: break-word; color: steelblue;">
|
|
|
|
|
|
+ <small style="color: gold;">${new Date(message.timestamp).toLocaleString()}</small>
|
|
|
|
+ <div style="word-wrap: break-word; color: skyblue;">
|
|
<h4 style="color: mediumseagreen; font-style: italic; display: inline;">${message.nick} :</h4> ${message.message}
|
|
<h4 style="color: mediumseagreen; font-style: italic; display: inline;">${message.nick} :</h4> ${message.message}
|
|
</div>
|
|
</div>
|
|
`)
|
|
`)
|