forked from MarseyWorld/MarseyWorld
better class name
parent
5da59be285
commit
fdfaf36570
|
@ -221,7 +221,7 @@ socket.on('online', function(data) {
|
|||
|
||||
const muted_li = Object.keys(data[1])
|
||||
|
||||
document.getElementsByClassName('board-chat-count')[0].innerHTML = online_li.length
|
||||
document.getElementsByClassName('chat-count')[0].innerHTML = online_li.length
|
||||
document.getElementById('chat-count-header-bar').innerHTML = online_li.length
|
||||
const admin_level = parseInt(document.getElementById('admin_level').value)
|
||||
let online = ''
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<div class="border-right d-md-none fl-r pt-2 mr-3">
|
||||
<span data-bs-html="true" data-bs-toggle="tooltip" data-bs-placement="bottom" title="<b>Members</b> {% for membership in chat.memberships %}<br>@{{membership.user.username}}{% endfor %}" class="text-muted">
|
||||
<i class="fas fa-user fa-sm mr-1"></i>
|
||||
<span class="board-chat-count" style="cursor:default">{{chat.memberships|length}}</span>
|
||||
<span class="chat-count" style="cursor:default">{{chat.memberships|length}}</span>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -274,7 +274,7 @@
|
|||
<div class="border-right pb-1 px-3">
|
||||
<span id="online2" data-bs-html="true" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Users Online" class="text-muted">
|
||||
<i class="fas fa-user fa-sm mr-1"></i>
|
||||
<span class="board-chat-count">0</span>
|
||||
<span class="chat-count">0</span>
|
||||
</span>
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
|
Loading…
Reference in New Issue