fix prev commit

master
Aevann1 2022-08-13 09:26:00 +02:00
parent 64e3ceb40f
commit b3c52b0660
2 changed files with 3 additions and 1 deletions

View File

@ -120,8 +120,10 @@ socket.on('online', function(data){
let online = '' let online = ''
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 += `<li>${u}</li>` online2 += `<li>${u}</li>`
}
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

@ -197,7 +197,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=25"></script> <script src="/chat.js?v=26"></script>
{% include "emoji_modal.html" %} {% include "emoji_modal.html" %}
{% include "expanded_image_modal.html" %} {% include "expanded_image_modal.html" %}