From 952e7a93f977a11bd65c0477d478154e1faddc15 Mon Sep 17 00:00:00 2001
From: Reed Garmsen <rgarmsen2295@gmail.com>
Date: Thu, 23 Jul 2015 10:01:19 -0700
Subject: Fixed issue with error message for uploading more than 5 files not
 appearing on OSX

---
 web/react/components/create_comment.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'web/react/components/create_comment.jsx')

diff --git a/web/react/components/create_comment.jsx b/web/react/components/create_comment.jsx
index 3f8e9ed2e..88c01c586 100644
--- a/web/react/components/create_comment.jsx
+++ b/web/react/components/create_comment.jsx
@@ -40,7 +40,7 @@ module.exports = React.createClass({
         post.parent_id = this.props.parentId;
         post.filenames = this.state.previews;
 
-        this.setState({ submitting: true });
+        this.setState({ submitting: true, limit_error: null });
 
         client.createPost(post, ChannelStore.getCurrent(),
             function(data) {
-- 
cgit v1.2.3-1-g7c22

