cosmetic changes to chat

master
Aevann1 2022-08-13 11:11:56 +02:00
parent eb684a90b7
commit 0a1927e4f2
2 changed files with 3 additions and 3 deletions

View File

@ -121,8 +121,8 @@ socket.on('online', function(data){
let online2 = 'Users online right now' let online2 = 'Users online right now'
for (const u of data) for (const u of data)
{ {
online += `<li><a href="/@${u}" class="text-lg">${u}</a></li>` online += `<li><a href="/@${u}" class="text-lg">@${u}</a></li>`
online2 += `<br>${u}` online2 += `<br>@${u}`
} }
document.getElementById('online').innerHTML = online document.getElementById('online').innerHTML = online
document.getElementById('online2').setAttribute("data-bs-original-title", online2); document.getElementById('online2').setAttribute("data-bs-original-title", online2);

View File

@ -201,7 +201,7 @@
<input id="site_name" type="hidden" value="{{SITE_NAME}}"> <input id="site_name" type="hidden" value="{{SITE_NAME}}">
<input id="slurreplacer" type="hidden" value="{{v.slurreplacer}}"> <input id="slurreplacer" type="hidden" value="{{v.slurreplacer}}">
<script src="/chat.js?v=27"></script> <script src="/chat.js?v=28"></script>
{% include "emoji_modal.html" %} {% include "emoji_modal.html" %}
{% include "expanded_image_modal.html" %} {% include "expanded_image_modal.html" %}