diff options
author | asaadmahmoodspin <asaad@battlehouse.com> | 2015-06-19 19:52:04 +0500 |
---|---|---|
committer | asaadmahmoodspin <asaad@battlehouse.com> | 2015-06-19 19:52:04 +0500 |
commit | 20676fd740781e3b818b7411be17ec6f4f67bc3f (patch) | |
tree | 059988228781471d43fd212525cb3bd53de0e040 /web/react/components/post_list.jsx | |
parent | 0821b51f4ee5fcc2eadc2c92c60ebbb4fdc084d3 (diff) | |
parent | 32025e43799324523988af040085d95ec6b6e80e (diff) | |
download | chat-20676fd740781e3b818b7411be17ec6f4f67bc3f.tar.gz chat-20676fd740781e3b818b7411be17ec6f4f67bc3f.tar.bz2 chat-20676fd740781e3b818b7411be17ec6f4f67bc3f.zip |
Merge pull request #1 from rgarmsen2295/mm-1253
MM-1253
Diffstat (limited to 'web/react/components/post_list.jsx')
-rw-r--r-- | web/react/components/post_list.jsx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx index 65247b705..97f9fa943 100644 --- a/web/react/components/post_list.jsx +++ b/web/react/components/post_list.jsx @@ -444,17 +444,13 @@ module.exports = React.createClass({ if (post.create_at > last_viewed && !rendered_last_viewed) { rendered_last_viewed = true; postCtls.push( - <div> - <div className="new-seperator"> - <hr id="new_message" className="new-seperator__hr" /> - <div className="new-seperator__text">New Messages</div> - </div> - {postCtl} - </div> + <div className="new-seperator"> + <hr id="new_message" className="new-seperator__hr" /> + <div className="new-seperator__text">New Messages</div> + </div> ); - } else { - postCtls.push(postCtl); } + postCtls.push(postCtl); previousPostDay = utils.getDateForUnixTicks(post.create_at); } |