pretty up chat

master
Aevann1 2022-08-14 15:38:08 +02:00
parent ed028f0fae
commit fca0f5434b
2 changed files with 6 additions and 3 deletions

View File

@ -117,7 +117,7 @@ textbox.addEventListener("keyup", function(e) {
socket.on('online', function(data){
document.getElementsByClassName('board-chat-count')[0].innerHTML = data.length
let online = '<h5>Users in chat right now</h5>'
let online = ''
let online2 = '<b>Users in chat right now</b>'
for (const u of data)
{

View File

@ -190,7 +190,10 @@
</div>
</div>
<div id="online" class="col sidebar text-left d-none d-lg-block pt-3 bg-white" style="max-width:300px">
<div class="col sidebar text-left d-none d-lg-block pt-3 bg-white" style="max-width:300px">
<h4>Users in chat right now</h4>
<div id="online">
</div>
</div>
</div>
@ -201,7 +204,7 @@
<input id="site_name" type="hidden" value="{{SITE_NAME}}">
<input id="slurreplacer" type="hidden" value="{{v.slurreplacer}}">
<script src="/chat.js?v=34"></script>
<script src="/chat.js?v=35"></script>
{% include "emoji_modal.html" %}
{% include "expanded_image_modal.html" %}