From d26ea2749ec4d7089fdad2db9aed39d424880299 Mon Sep 17 00:00:00 2001 From: Rohan Sircar Date: Fri, 22 Nov 2019 22:16:18 +0530 Subject: [PATCH] minor change to chat area scroll animation --- chatto/src/main/resources/static/js/chat.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chatto/src/main/resources/static/js/chat.js b/chatto/src/main/resources/static/js/chat.js index 84a10ba..692d8ba 100644 --- a/chatto/src/main/resources/static/js/chat.js +++ b/chatto/src/main/resources/static/js/chat.js @@ -237,9 +237,10 @@ function populateMessages(userName, passphrase) { } $(chatAreaNew).append(DOMPurify.sanitize(msgContainer)); + scrollChatAreaAnimated(2400); }) - scrollChatAreaAnimated(2400); + });