From 5884495a85cf92c338ab003305d1433df059884c Mon Sep 17 00:00:00 2001
From: Rodrigo Corsi <rodrigocorsi@gmail.com>
Date: Mon, 7 Mar 2016 11:11:58 -0300
Subject: Fix camel case

---
 web/react/components/textbox.jsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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

diff --git a/web/react/components/textbox.jsx b/web/react/components/textbox.jsx
index b84cc9922..c119abcbc 100644
--- a/web/react/components/textbox.jsx
+++ b/web/react/components/textbox.jsx
@@ -129,7 +129,7 @@ export default class Textbox extends React.Component {
     }
 
     render() {
-        const hastext = this.props.messageText.length > 0;
+        const hasText = this.props.messageText.length > 0;
 
         let previewLink = null;
         if (Utils.isFeatureEnabled(PreReleaseFeatures.MARKDOWN_PREVIEW)) {
@@ -153,9 +153,9 @@ export default class Textbox extends React.Component {
             );
         }
 
-        let helptext = (
+        let helpText = (
             <div
-                style={{visibility: hastext ? 'visible' : 'hidden', opacity: hastext ? '1' : '0'}}
+                style={{visibility: hasText ? 'visible' : 'hidden', opacity: hasText ? '1' : '0'}}
                 className='help_format_text'
             >
                 <b>
@@ -229,7 +229,7 @@ export default class Textbox extends React.Component {
                     dangerouslySetInnerHTML={{__html: this.state.preview ? TextFormatting.formatText(this.props.messageText) : ''}}
                 >
                 </div>
-                {helptext}
+                {helpText}
                 <a
                     target='_blank'
                     href='http://docs.mattermost.com/help/getting-started/messaging-basics.html'
-- 
cgit v1.2.3-1-g7c22

