Skip to content

Commit 4f90c37

Browse files
Forums - Open in new window
1 parent 3f02a63 commit 4f90c37

File tree

2 files changed

+11
-1
lines changed
  • src/shared/components/challenge-detail

2 files changed

+11
-1
lines changed

src/shared/components/challenge-detail/Header/TabSelector/index.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ export default function ChallengeViewSelector(props) {
182182
<a
183183
href={`${config.URL.FORUMS}${forumEndpoint}`}
184184
styleName={getSelectorStyle(selectedView, DETAIL_TABS.CHALLENGE_FORUM)}
185+
target="_blank"
186+
rel="oopener noreferrer"
185187
>
186188
CHALLENGE FORUM
187189
</a>
@@ -190,6 +192,8 @@ export default function ChallengeViewSelector(props) {
190192
<a
191193
href={d.url}
192194
styleName={getSelectorStyle(selectedView, DETAIL_TABS.CHALLENGE_FORUM)}
195+
target="_blank"
196+
rel="oopener noreferrer"
193197
>
194198
CHALLENGE DISCUSSION
195199
</a>

src/shared/components/challenge-detail/Specification/SideBar/index.jsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,11 @@ export default function SideBar({
268268
Questions?
269269
&zwnj;
270270
{_.isEmpty(discuss) && (
271-
<a href={forumLink}>
271+
<a
272+
href={forumLink}
273+
target="_blank"
274+
rel="oopener noreferrer"
275+
>
272276
Ask in the Challenge Discussion Forums.
273277
</a>
274278
)}
@@ -279,6 +283,8 @@ export default function SideBar({
279283
<li>
280284
<a
281285
href={d.url}
286+
target="_blank"
287+
rel="oopener noreferrer"
282288
>
283289
CHALLENGE DISCUSSION
284290
</a>

0 commit comments

Comments
 (0)