From f51cc73aaf0da4973e13821a5201cd0e05e1e552 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 6 Jul 2015 23:18:23 +0500 Subject: MM-1461 - Updating Mattermost UI --- web/react/components/post_list.jsx | 2 +- web/react/components/view_image.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'web/react') diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx index 169efc766..fc5157ce6 100644 --- a/web/react/components/post_list.jsx +++ b/web/react/components/post_list.jsx @@ -123,7 +123,7 @@ module.exports = React.createClass({ $('.post-list__content div .post').removeClass('post--last'); $('.post-list__content div:last-child .post').addClass('post--last'); - $('body').on('mouseenter mouseleave', '.post', function(ev){ + $('body').on('mouseenter mouseleave', '.post:not(.post--comment.same--root)', function(ev){ if(ev.type === 'mouseenter'){ $(this).parent('div').prev('.date-separator, .new-separator').addClass('hovered--after'); $(this).parent('div').next('.date-separator, .new-separator').addClass('hovered--before'); diff --git a/web/react/components/view_image.jsx b/web/react/components/view_image.jsx index c573e9dbb..38f439946 100644 --- a/web/react/components/view_image.jsx +++ b/web/react/components/view_image.jsx @@ -161,7 +161,7 @@ module.exports = React.createClass({
{ config.AllowPublicLink ?
- Get Public Link + Get Public Link |
: "" } -- cgit v1.2.3-1-g7c22