From c19eb23a6702722a415564d75c314240230f5b29 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 26 Aug 2022 21:35:58 +0200 Subject: [PATCH] despair --- files/assets/js/chat.js | 3 ++- files/templates/chat.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/files/assets/js/chat.js b/files/assets/js/chat.js index 8b0ab17b9d..320167439f 100644 --- a/files/assets/js/chat.js +++ b/files/assets/js/chat.js @@ -128,7 +128,8 @@ function quote(t) { textbox.addEventListener("keyup", function(e) { if (e.key === 'Enter') { e.preventDefault(); - send() + send(); + scroll_chat(); } }) diff --git a/files/templates/chat.html b/files/templates/chat.html index b73e2f003e..84d2606af9 100644 --- a/files/templates/chat.html +++ b/files/templates/chat.html @@ -214,6 +214,6 @@ - + \ No newline at end of file