diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-08-04 12:37:47 -0400 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2016-08-04 08:37:47 -0800 |
commit | 18e7d7f485368799676edd1783185afc3de8e094 (patch) | |
tree | ac207276b02b90f6d27aaba871446f48b6705c31 /webapp | |
parent | f5d69cb813cb9307ac36e9a47dfc467c1e9f2d30 (diff) | |
download | chat-18e7d7f485368799676edd1783185afc3de8e094.tar.gz chat-18e7d7f485368799676edd1783185afc3de8e094.tar.bz2 chat-18e7d7f485368799676edd1783185afc3de8e094.zip |
Reverting plt-3366 due to a bug (#3737)
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/components/post_view/components/post.jsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/webapp/components/post_view/components/post.jsx b/webapp/components/post_view/components/post.jsx index 038bcab78..b372d2548 100644 --- a/webapp/components/post_view/components/post.jsx +++ b/webapp/components/post_view/components/post.jsx @@ -10,7 +10,6 @@ const ActionTypes = Constants.ActionTypes; import * as Utils from 'utils/utils.jsx'; import * as PostUtils from 'utils/post_utils.jsx'; import AppDispatcher from 'dispatcher/app_dispatcher.jsx'; -import * as PostActions from 'actions/post_actions.jsx'; import React from 'react'; @@ -49,11 +48,13 @@ export default class Post extends React.Component { this.refs.info.forceUpdate(); this.refs.header.forceUpdate(); } - handlePostClick(e) { + handlePostClick() { + /* Disabled do to a bug: https://mattermost.atlassian.net/browse/PLT-3785 if (e.altKey) { e.preventDefault(); PostActions.setUnreadPost(this.props.post.channel_id, this.props.post.id); } + */ } shouldComponentUpdate(nextProps, nextState) { if (!Utils.areObjectsEqual(nextProps.post, this.props.post)) { |