forked from MarseyWorld/MarseyWorld
show online on chat in dropdown menu
parent
ad9cdceab4
commit
a817fc35c0
|
@ -126,6 +126,7 @@ socket.on('online', function(data){
|
|||
}
|
||||
document.getElementById('online').innerHTML = online
|
||||
document.getElementById('online2').setAttribute("data-bs-original-title", online2);
|
||||
document.getElementById('online3').innerHTML = online
|
||||
})
|
||||
|
||||
window.addEventListener('blur', function(){
|
||||
|
|
|
@ -201,7 +201,7 @@
|
|||
<input id="site_name" type="hidden" value="{{SITE_NAME}}">
|
||||
<input id="slurreplacer" type="hidden" value="{{v.slurreplacer}}">
|
||||
|
||||
<script src="/chat.js?v=33"></script>
|
||||
<script src="/chat.js?v=34"></script>
|
||||
|
||||
{% include "emoji_modal.html" %}
|
||||
{% include "expanded_image_modal.html" %}
|
||||
|
|
|
@ -327,7 +327,9 @@
|
|||
</li>
|
||||
{% endif %}
|
||||
<li class="mt-3">
|
||||
{% if has_sidebar %}
|
||||
{% if request.path == "/chat" %}
|
||||
<div id="online3" class="col sidebar text-left d-lg-none pt-3 bg-white" style="max-width:300px"></div>
|
||||
{% elif has_sidebar %}
|
||||
{% include "sidebar_" + SITE_NAME + ".html" %}
|
||||
{% endif %}
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue