more chat fixes

pull/90/head
Aevann 2023-01-21 13:44:22 +02:00
parent e4156607ea
commit 98135f55c6
2 changed files with 2 additions and 9 deletions

View File

@ -153,6 +153,7 @@ socket.on('catchup', function(json) {
if (existing) break
handle_message(message)
}
box.scrollTo(0, box.scrollHeight)
})
function send() {
@ -323,11 +324,3 @@ document.onpaste = function(event) {
document.getElementById('filename').textContent = filename;
}
}
setTimeout(function () {
box.scrollTo(0, box.scrollHeight)
}, 3000);
setTimeout(function () {
box.scrollTo(0, box.scrollHeight)
}, 5000);

View File

@ -39,7 +39,7 @@
</a>
</div>
<div class="chat-message text-black text-break"></div>
<span class="chat-message text-black text-break"></span>
<span class="text d-none"></span>
{% if v.admin_level > 1 %}
<i class="btn del fas fa-trash-alt"></i>