diff --git a/files/assets/js/chat.js b/files/assets/js/chat.js index e7873e2d7..2238dbfb9 100644 --- a/files/assets/js/chat.js +++ b/files/assets/js/chat.js @@ -78,6 +78,7 @@ socket.on('speak', function(json) { document.getElementsByClassName('avatar')[0].src = json['avatar'] document.getElementsByClassName('userlink')[0].href = '/@' + json['username'] document.getElementsByClassName('userlink')[0].style.color = '#' + json['namecolor'] + document.getElementsByClassName('time')[0].classList.remove('d-none') document.getElementsByClassName('time')[0].innerHTML = 'just now' } diff --git a/files/templates/chat.html b/files/templates/chat.html index 6445b0723..81c00c049 100644 --- a/files/templates/chat.html +++ b/files/templates/chat.html @@ -136,7 +136,7 @@