Skip to content

Commit

Permalink
PLT-6566 Prevented terms of service link from being blank (mattermost…
Browse files Browse the repository at this point in the history
  • Loading branch information
hmhealey authored and jwilander committed May 11, 2017
1 parent acf0976 commit df16c23
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions components/header_footer_template.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,18 @@ export default class NotLoggedIn extends React.Component {
);
}

if (global.window.mm_config.TermsOfServiceLink) {
content.push(
<a
key='terms_link'
id='terms_link'
className='pull-right footer-link'
target='_blank'
rel='noopener noreferrer'
href={global.window.mm_config.TermsOfServiceLink}
>
<FormattedMessage id='web.footer.terms'/>
</a>
);
}
content.push(
<a
key='terms_link'
id='terms_link'
className='pull-right footer-link'
target='_blank'
rel='noopener noreferrer'
href={global.window.mm_config.TermsOfServiceLink}
>
<FormattedMessage id='web.footer.terms'/>
</a>
);

if (global.window.mm_config.PrivacyPolicyLink) {
content.push(
Expand Down

0 comments on commit df16c23

Please sign in to comment.