From 023b286930d16fe94c0c77295c09f51910a74fcc Mon Sep 17 00:00:00 2001
From: Reed Garmsen <rgarmsen2295@gmail.com>
Date: Fri, 28 Aug 2015 14:43:48 -0700
Subject: Removed warning message when at the max character limit

---
 web/react/components/edit_post_modal.jsx | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

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

diff --git a/web/react/components/edit_post_modal.jsx b/web/react/components/edit_post_modal.jsx
index df692e1bb..1c5a1ed5e 100644
--- a/web/react/components/edit_post_modal.jsx
+++ b/web/react/components/edit_post_modal.jsx
@@ -38,10 +38,8 @@ module.exports = React.createClass({
         $("#edit_post").modal('hide');
         $(this.state.refocusId).focus();
     },
-    handleEditInput: function(editText) {
-        var editMessage = utils.truncateText(editText);
-        var newError = utils.checkMessageLengthError(editMessage, this.state.error, 'New message length cannot exceed ' + Constants.MAX_POST_LEN + ' characters');
-        this.setState({editText: editMessage, error: newError});
+    handleEditInput: function(editMessage) {
+        this.setState({editText: editMessage});
     },
     handleEditKeyPress: function(e) {
         if (e.which == 13 && !e.shiftKey && !e.altKey) {
-- 
cgit v1.2.3-1-g7c22

