Skip to content

Commit

Permalink
Fixed issue getting correct height of the active messages room
Browse files Browse the repository at this point in the history
Fixed #11
  • Loading branch information
cynthia-sg committed Dec 2, 2016
1 parent 28b8008 commit c481225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
// Scroll down room messages
var room_messages = '#'+data.room+' #room_messages';
$(room_messages).animate({
scrollTop: $(room_messages).height()
scrollTop: $(room_messages).prop('scrollHeight')
}, 300);
});

Expand Down

0 comments on commit c481225

Please sign in to comment.