summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_right.jsx
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-08-11 15:31:07 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-08-12 12:29:57 -0700
commit6f091f0f6d17b74a5d87517ef35f89cd46e1bcb4 (patch)
tree0892e705efd8d05025ce20af1b28c2446836c6ef /web/react/components/post_right.jsx
parent9f9d93e6133ffd2523546e27e9099e2e6f436506 (diff)
downloadchat-6f091f0f6d17b74a5d87517ef35f89cd46e1bcb4.tar.gz
chat-6f091f0f6d17b74a5d87517ef35f89cd46e1bcb4.tar.bz2
chat-6f091f0f6d17b74a5d87517ef35f89cd46e1bcb4.zip
Added check to make sure files are not strings
Diffstat (limited to 'web/react/components/post_right.jsx')
-rw-r--r--web/react/components/post_right.jsx7
1 files changed, 1 insertions, 6 deletions
diff --git a/web/react/components/post_right.jsx b/web/react/components/post_right.jsx
index ad993aee1..ad8b54012 100644
--- a/web/react/components/post_right.jsx
+++ b/web/react/components/post_right.jsx
@@ -294,13 +294,8 @@ module.exports = React.createClass({
var currentId = UserStore.getCurrentId();
var searchForm = currentId == null ? null : <SearchBox />;
- var fileDragOverlay = '';
- if (this.state.fileDrag) {
- fileDragOverlay = 'post-right-file-overlay';
- }
-
return (
- <div className="post-right__container ">
+ <div className="post-right__container">
<div className="search-bar__container sidebar--right__search-header">{searchForm}</div>
<div className="sidebar-right__body">
<RhsHeaderPost fromSearch={this.props.fromSearch} isMentionSearch={this.props.isMentionSearch} />