From 65318de9ae18b4e01d110effaa1576843ccf3b78 Mon Sep 17 00:00:00 2001
From: Reed Garmsen <rgarmsen2295@gmail.com>
Date: Thu, 18 Jun 2015 15:34:23 -0700
Subject: Changed the new messages separator location in the markup to be at
 the same level as the date seperator

---
 web/react/components/post_list.jsx | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

(limited to 'web/react/components/post_list.jsx')

diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx
index 65247b705..47ecc1680 100644
--- a/web/react/components/post_list.jsx
+++ b/web/react/components/post_list.jsx
@@ -444,13 +444,11 @@ 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>
+                        {postCtl}
+                    </div>
                 );
             } else {
                 postCtls.push(postCtl);
-- 
cgit v1.2.3-1-g7c22


From 32025e43799324523988af040085d95ec6b6e80e Mon Sep 17 00:00:00 2001
From: Reed Garmsen <rgarmsen2295@gmail.com>
Date: Thu, 18 Jun 2015 11:46:40 -0700
Subject: Removed extraneous post control from within new message separator

---
 web/react/components/post_list.jsx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'web/react/components/post_list.jsx')

diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx
index 47ecc1680..97f9fa943 100644
--- a/web/react/components/post_list.jsx
+++ b/web/react/components/post_list.jsx
@@ -447,12 +447,10 @@ module.exports = React.createClass({
                     <div className="new-seperator">
                         <hr id="new_message" className="new-seperator__hr" />
                         <div className="new-seperator__text">New Messages</div>
-                        {postCtl}
                     </div>
                 );
-            } else {
-                postCtls.push(postCtl);
             }
+            postCtls.push(postCtl);
             previousPostDay = utils.getDateForUnixTicks(post.create_at);
         }
 
-- 
cgit v1.2.3-1-g7c22

