From b3c52b0660039acdd7a6b4fd22c696248504f52f Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 13 Aug 2022 09:26:00 +0200 Subject: [PATCH] fix prev commit --- files/assets/js/chat.js | 2 ++ files/templates/chat.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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" %}