PLT-6566 Prevented terms of service link from being blank (#6392)

This commit is contained in:
Harrison Healey
2017-05-11 16:18:48 -04:00
committed by Joram Wilander
parent c789eeceb1
commit e22bab5be0
2 changed files with 13 additions and 15 deletions

View File

@@ -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(