From 7587689735f37caaca63906aaf22fd6f345a53c9 Mon Sep 17 00:00:00 2001
From: hmhealey <harrisonmhealey@gmail.com>
Date: Tue, 2 Feb 2016 12:51:40 -0500
Subject: Updated post help link

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

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

diff --git a/web/react/components/textbox.jsx b/web/react/components/textbox.jsx
index bb383aca1..00e5ace98 100644
--- a/web/react/components/textbox.jsx
+++ b/web/react/components/textbox.jsx
@@ -129,13 +129,6 @@ export default class Textbox extends React.Component {
         this.resize();
     }
 
-    showHelp(e) {
-        e.preventDefault();
-        e.target.blur();
-
-        global.window.open('/docs/Messaging');
-    }
-
     render() {
         let previewLink = null;
         if (Utils.isFeatureEnabled(PreReleaseFeatures.MARKDOWN_PREVIEW)) {
@@ -194,7 +187,8 @@ export default class Textbox extends React.Component {
                 </div>
                 {previewLink}
                 <a
-                    onClick={this.showHelp}
+                    target='_blank'
+                    href='http://docs.mattermost.com/help/getting-started/messaging-basics.html'
                     className='textbox-help-link'
                 >
                     <FormattedMessage
-- 
cgit v1.2.3-1-g7c22

