diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-07-06 08:48:00 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-07-06 08:48:00 -0400 |
commit | 6c33350f5c7e58ac45d7300c035dd58ecf6b3330 (patch) | |
tree | a12ebc9d0b5df04bdbe36ae29fc06ddbcca54dc1 /webapp/components | |
parent | 31d956a0500f8fca49c82723aac5440659df77e3 (diff) | |
download | chat-6c33350f5c7e58ac45d7300c035dd58ecf6b3330.tar.gz chat-6c33350f5c7e58ac45d7300c035dd58ecf6b3330.tar.bz2 chat-6c33350f5c7e58ac45d7300c035dd58ecf6b3330.zip |
On receive of a comment that we don't have the thread for, acquire the thread (#3490)
Diffstat (limited to 'webapp/components')
-rw-r--r-- | webapp/components/post_view/components/post_list.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/components/post_view/components/post_list.jsx b/webapp/components/post_view/components/post_list.jsx index bcd763d58..17e29da2e 100644 --- a/webapp/components/post_view/components/post_list.jsx +++ b/webapp/components/post_view/components/post_list.jsx @@ -136,7 +136,9 @@ export default class PostList extends React.Component { } } - loadMorePostsTop() { + loadMorePostsTop(e) { + e.preventDefault(); + if (this.props.isFocusPost) { return GlobalActions.emitLoadMorePostsFocusedTopEvent(); } |