From b07f8272d6a99db2b7d4094961ffe0650b282bb7 Mon Sep 17 00:00:00 2001
From: Joram Wilander <jwawilander@gmail.com>
Date: Thu, 28 Apr 2016 10:53:52 -0400
Subject: Change footer links to a tags instead of Link tags (#2815)

---
 webapp/components/header_footer_template.jsx | 29 +++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

(limited to 'webapp/components/header_footer_template.jsx')

diff --git a/webapp/components/header_footer_template.jsx b/webapp/components/header_footer_template.jsx
index ce2f59541..76061d532 100644
--- a/webapp/components/header_footer_template.jsx
+++ b/webapp/components/header_footer_template.jsx
@@ -5,7 +5,6 @@ import $ from 'jquery';
 import {FormattedMessage} from 'react-intl';
 
 import React from 'react';
-import {Link} from 'react-router';
 
 export default class NotLoggedIn extends React.Component {
     componentDidMount() {
@@ -30,34 +29,38 @@ export default class NotLoggedIn extends React.Component {
                         </div>
                         <div className='col-xs-12'>
                             <span className='pull-right footer-link copyright'>{'© 2015 Mattermost, Inc.'}</span>
-                            <Link
+                            <a
                                 id='help_link'
                                 className='pull-right footer-link'
-                                to={global.window.mm_config.HelpLink}
+                                target='_blank'
+                                href={global.window.mm_config.HelpLink}
                             >
                                 <FormattedMessage id='web.footer.help'/>
-                            </Link>
-                            <Link
+                            </a>
+                            <a
                                 id='terms_link'
                                 className='pull-right footer-link'
-                                to={global.window.mm_config.TermsOfServiceLink}
+                                target='_blank'
+                                href={global.window.mm_config.TermsOfServiceLink}
                             >
                                 <FormattedMessage id='web.footer.terms'/>
-                            </Link>
-                            <Link
+                            </a>
+                            <a
                                 id='privacy_link'
                                 className='pull-right footer-link'
-                                to={global.window.mm_config.PrivacyPolicyLink}
+                                target='_blank'
+                                href={global.window.mm_config.PrivacyPolicyLink}
                             >
                                 <FormattedMessage id='web.footer.privacy'/>
-                            </Link>
-                            <Link
+                            </a>
+                            <a
                                 id='about_link'
                                 className='pull-right footer-link'
-                                to={global.window.mm_config.AboutLink}
+                                target='_blank'
+                                href={global.window.mm_config.AboutLink}
                             >
                                 <FormattedMessage id='web.footer.about'/>
-                            </Link>
+                            </a>
                         </div>
                     </div>
                 </div>
-- 
cgit v1.2.3-1-g7c22

