trying to fix an annoying bug

remotes/1693045480750635534/spooky-22
Aevann1 2022-08-20 14:28:14 +02:00
parent f60f4f54c0
commit b7b7036b08
2 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@
<a class="nav-link position-relative" href="/chat">
<i class="fas fa-messages" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Chat"></i>
<b class="text-lg" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Users in chat right now">
{{cache.get(ONLINE_STR) or 0}}
{{cache.get(ONLINE_STR)}}
</b>
</a>
</li>

View File

@ -51,7 +51,7 @@
<button class="col px-0 btn btn-dead m-0 pt-0" style="background: None !important; border: None;">
<a href="/chat" class="text-decoration-none" role="button">
<div class="text-center {% if request.path=='/chat' %}text-primary{% else %}text-muted{% endif %}">
<b class="text-lg" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Users in chat right now">{{cache.get(ONLINE_STR) or 0}}</b>
<b class="text-lg" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Users in chat right now">{{cache.get(ONLINE_STR)}}</b>
<div class="text-small">Chat</div>
</div>
</a>