Open Community Guidelines links in new tabs

This commit is contained in:
seotts 2020-04-03 10:25:48 -04:00
parent b39f416681
commit 8f4a7643cf
2 changed files with 2 additions and 2 deletions

View file

@ -128,7 +128,7 @@ class ReportModal extends React.Component {
key={`report.${type}Instructions`} key={`report.${type}Instructions`}
values={{ values={{
CommunityGuidelinesLink: ( CommunityGuidelinesLink: (
<a href="/community_guidelines"> <a href="/community_guidelines" target="_blank">
<FormattedMessage id="report.CommunityGuidelinesLinkText" /> <FormattedMessage id="report.CommunityGuidelinesLinkText" />
</a> </a>
) )

View file

@ -171,7 +171,7 @@ const REPORT_OPTIONS = [
id={`report.promptSomethingElse`} id={`report.promptSomethingElse`}
values={{ values={{
CommunityGuidelinesLink: ( CommunityGuidelinesLink: (
<a href="/community_guidelines"> <a href="/community_guidelines" target="_blank">
<FormattedMessage id="report.CommunityGuidelinesLinkText" /> <FormattedMessage id="report.CommunityGuidelinesLinkText" />
</a> </a>
) )