summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_list.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_list.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_list.jsx')
-rw-r--r--web/react/components/post_list.jsx6
1 files changed, 1 insertions, 5 deletions
diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx
index 826d34a7d..83f806b79 100644
--- a/web/react/components/post_list.jsx
+++ b/web/react/components/post_list.jsx
@@ -124,6 +124,7 @@ module.exports = React.createClass({
$(this).parent('div').next('.date-separator, .new-separator').removeClass('hovered--comment');
}
});
+
},
componentDidUpdate: function() {
this.resize();
@@ -461,11 +462,6 @@ module.exports = React.createClass({
postCtls.push(<LoadingScreen position="absolute" />);
}
- var fileDragOverlay = '';
- if (this.state.fileDrag) {
- fileDragOverlay = 'post-list-file-overlay';
- }
-
return (
<div ref="postlist" className="post-list-holder-by-time">
<div className="post-list__table">