Skip to content

Commit

Permalink
Merge pull request #475 from lumeet/scroll_to_bottom
Browse files Browse the repository at this point in the history
Scroll down after own message
  • Loading branch information
sibartlett committed Jun 4, 2015
2 parents 79a9f24 + a9fb9cd commit 44ab0a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions media/js/views/room.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@
text: $textarea.val()
});
$textarea.val('');
this.scrollLocked = true;
this.scrollMessages();
},
addMessage: function(message) {
// Smells like pasta
Expand Down

0 comments on commit 44ab0a3

Please sign in to comment.