summaryrefslogtreecommitdiffstats
path: root/web/react/components/posts_view_container.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-11-09 09:16:01 -0500
committerChristopher Speller <crspeller@gmail.com>2015-11-09 09:16:01 -0500
commitd56d9c2f123700517e742434717f3786a8549f25 (patch)
treec05f6d30ccb767e2555af733aa8edd12c47c69f3 /web/react/components/posts_view_container.jsx
parent893eb2cd86ca1335cfaf5ba2796866e0506b10fe (diff)
downloadchat-d56d9c2f123700517e742434717f3786a8549f25.tar.gz
chat-d56d9c2f123700517e742434717f3786a8549f25.tar.bz2
chat-d56d9c2f123700517e742434717f3786a8549f25.zip
Jumps up to new messages indicator when new messages present
Diffstat (limited to 'web/react/components/posts_view_container.jsx')
-rw-r--r--web/react/components/posts_view_container.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/posts_view_container.jsx b/web/react/components/posts_view_container.jsx
index 5059747bd..5037a86cd 100644
--- a/web/react/components/posts_view_container.jsx
+++ b/web/react/components/posts_view_container.jsx
@@ -109,7 +109,7 @@ export default class PostsViewContainer extends React.Component {
this.setState({
currentChannelIndex: newIndex,
currentLastViewed: lastViewed,
- scrollType: PostsView.SCROLL_TYPE_BOTTOM,
+ scrollType: PostsView.SCROLL_TYPE_NEW_MESSAGE,
channels,
postLists});
}