forked from MarseyWorld/MarseyWorld
fix chat flash
parent
336ad55fe4
commit
01cc1726cc
|
@ -56,6 +56,11 @@ socket.on('speak', function(json) {
|
|||
chatline.classList.remove('chat-mention');
|
||||
};
|
||||
|
||||
notifs = notifs + 1;
|
||||
if (notifs == 1) {
|
||||
setTimeout(flash, 500);
|
||||
}
|
||||
|
||||
let users = document.getElementsByClassName('userlink');
|
||||
let last_user = users[users.length-1].innerHTML;
|
||||
|
||||
|
|
|
@ -202,7 +202,7 @@
|
|||
<input id="site_name" type="hidden" value="{{SITE_NAME}}">
|
||||
<input id="slurreplacer" type="hidden" value="{{v.slurreplacer}}">
|
||||
|
||||
<script src="/chat.js?v=35"></script>
|
||||
<script src="/chat.js?v=36"></script>
|
||||
|
||||
{% include "emoji_modal.html" %}
|
||||
{% include "expanded_image_modal.html" %}
|
||||
|
|
Loading…
Reference in New Issue