diff --git a/files/assets/js/chat.js b/files/assets/js/chat.js index 686755a62..e95a5c0e9 100644 --- a/files/assets/js/chat.js +++ b/files/assets/js/chat.js @@ -120,8 +120,10 @@ socket.on('online', function(data){ let online = '' let online2 = 'Users online right now' for (const u of data) + { online += `
  • ${u}
  • ` online2 += `
  • ${u}
  • ` + } document.getElementById('online').innerHTML = online document.getElementById('online2').setAttribute("data-bs-original-title", online2); }) diff --git a/files/templates/chat.html b/files/templates/chat.html index db746e404..c899f13ad 100644 --- a/files/templates/chat.html +++ b/files/templates/chat.html @@ -197,7 +197,7 @@ - + {% include "emoji_modal.html" %} {% include "expanded_image_modal.html" %}