Skip to content

Commit

Permalink
Update AlterBanner.tsx
Browse files Browse the repository at this point in the history
Add blank
  • Loading branch information
Gum-Joe authored Feb 10, 2021
1 parent 7323c00 commit 00ef00a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/AlterBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const AlertBanner: React.FC<AlertBannerProps> = (props) => {
<h3 className="desktop">
{props.alert.message}{/*&nbsp;*/}
{props.alert.linkTo ?
<a className="r-banner-link" href={props.alert.linkTo} onClick={reportAlertButtonClick}>{props.alert.linkText || "View More"}</a>
<a className="r-banner-link" href={props.alert.linkTo} target="__blank" onClick={reportAlertButtonClick}>{props.alert.linkText || "View More"}</a>
: null
}
</h3>
Expand All @@ -87,7 +87,7 @@ const AlertBanner: React.FC<AlertBannerProps> = (props) => {
<span>{showExpandButtonMobile ? "New Alert(s)" : props.alert.message}</span>&nbsp;
<br />
{showExpandButtonMobile ?
<a className="r-banner-link" href={expanded ? props.alert.linkTo : undefined} onClick={reportAlertButtonClick}>
<a className="r-banner-link" href={expanded ? props.alert.linkTo : undefined} target="__blank" onClick={reportAlertButtonClick}>
<span>{expanded ? "View" : "Expand"}</span>
</a> : null}
</h3>
Expand Down

0 comments on commit 00ef00a

Please sign in to comment.