master
Aevann1 2022-08-26 21:36:34 +02:00
parent c19eb23a67
commit 4442f6df93
1 changed files with 2 additions and 2 deletions

View File

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