From 05af5d14b8d07b010c70750ae1ac5ddf22c120a7 Mon Sep 17 00:00:00 2001
From: Joram Wilander <jwawilander@gmail.com>
Date: Tue, 13 Sep 2016 12:02:37 -0400
Subject: Highlight comment bar for comments considered mentions (#3938)

---
 webapp/utils/utils.jsx | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'webapp/utils/utils.jsx')

diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx
index 2780196db..dda1d0986 100644
--- a/webapp/utils/utils.jsx
+++ b/webapp/utils/utils.jsx
@@ -663,9 +663,7 @@ export function applyTheme(theme) {
 
     if (theme.mentionHighlightBg) {
         changeCss('.app__body .mention--highlight, .app__body .search-highlight', 'background:' + theme.mentionHighlightBg, 1);
-    }
-
-    if (theme.mentionHighlightBg) {
+        changeCss('.mention-comment', 'border-color:' + theme.mentionHighlightBg + ' !important', 1);
         changeCss('.app__body .post.post--highlight', 'background:' + changeOpacity(theme.mentionHighlightBg, 0.5), 1);
     }
 
@@ -1375,4 +1373,4 @@ export function handleFormattedTextClick(e) {
             browserHistory.push(linkAttribute.value);
         }
     }
-}
\ No newline at end of file
+}
-- 
cgit v1.2.3-1-g7c22

