Skip to content
Snippets Groups Projects
Commit 66821bb1 authored by Justin Hynes's avatar Justin Hynes
Browse files

MB-600 | Open demographics modal link in new tab

[MB-600]
- Update demographics modal to open embedded link in new tab
parent bac8f3ae
No related branches found
No related tags found
No related merge requests found
......@@ -274,7 +274,7 @@ class DemographicsCollectionModal extends React.Component {
<br />
<span className="fa fa-info-circle" />
{/* Need to strip out extra '"' characters in the marketingSiteBaseUrl prop or it tries to setup the href as a relative URL */}
<a className="pl-3" href={`${this.props.marketingSiteBaseUrl}/demographics`.replace(/"/g, "")}>
<a className="pl-3" target="_blank" rel="noopener" href={`${this.props.marketingSiteBaseUrl}/demographics`.replace(/"/g, "")}>
{gettext('Why does edX collect this information?')}
</a>
<br />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment