From a9fb9cd79da520c0e7a4985507edd4cafe6869e6 Mon Sep 17 00:00:00 2001 From: Teemu Date: Tue, 2 Jun 2015 21:02:48 +0300 Subject: [PATCH] Scroll down after own message --- media/js/views/room.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/media/js/views/room.js b/media/js/views/room.js index 741b26a51..788274578 100644 --- a/media/js/views/room.js +++ b/media/js/views/room.js @@ -267,6 +267,8 @@ text: $textarea.val() }); $textarea.val(''); + this.scrollLocked = true; + this.scrollMessages(); }, addMessage: function(message) { // Smells like pasta