summaryrefslogtreecommitdiffstats
path: root/web/react
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-07-06 23:18:23 +0500
committerAsaad Mahmood <Unknowngi@live.com>2015-07-06 23:18:23 +0500
commitf51cc73aaf0da4973e13821a5201cd0e05e1e552 (patch)
tree9c0564827136f2392e873eab134006cabac329bc /web/react
parent10b625ba1740c6177cfe5c06484f4a14867523bd (diff)
downloadchat-f51cc73aaf0da4973e13821a5201cd0e05e1e552.tar.gz
chat-f51cc73aaf0da4973e13821a5201cd0e05e1e552.tar.bz2
chat-f51cc73aaf0da4973e13821a5201cd0e05e1e552.zip
MM-1461 - Updating Mattermost UI
Diffstat (limited to 'web/react')
-rw-r--r--web/react/components/post_list.jsx2
-rw-r--r--web/react/components/view_image.jsx2
2 files changed, 2 insertions, 2 deletions
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({
<div className="image-links">
{ config.AllowPublicLink ?
<div>
- <a href="#" className="text" data-title="Public Image" onClick={this.getPublicLink}>Get Public Link</a>
+ <a href="#" className="public-link text" data-title="Public Image" onClick={this.getPublicLink}>Get Public Link</a>
<span className="text"> | </span>
</div>
: "" }