Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Gum-Joe/isitweeka into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Gum-Joe committed Feb 11, 2021
2 parents f4224bb + 00ef00a commit 2cdd499
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 2cdd499

Please sign in to comment.