master
Aevann1 2022-08-26 21:39:50 +02:00
parent 4442f6df93
commit c7359d90b7
2 changed files with 5 additions and 3 deletions

View File

@ -112,7 +112,8 @@ function send() {
socket.emit('typing', false);
}
autoExpand(textbox);
box.scrollTo(0, box.scrollHeight)
box.scrollTo(0, box.scrollHeight);
scroll_chat();
}
function quote(t) {
@ -129,7 +130,8 @@ textbox.addEventListener("keyup", function(e) {
if (e.key === 'Enter') {
e.preventDefault();
send();
box.scrollTo(0, box.scrollHeight)
box.scrollTo(0, box.scrollHeight);
scroll_chat();
}
})

View File

@ -214,6 +214,6 @@
<script src="{{asset('js/lozad.js')}}"></script>
<script src="/assets/js/lite-youtube.js?v=241"></script>
<script src="/chat.js?v=3037"></script>
<script src="/chat.js?v=3038"></script>
</body>