Skip to content

Commit

Permalink
makes image credits open in new window
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Mar 29, 2023
1 parent 3564c36 commit 397196d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cms/src/components/sections/Hero.jsx
Expand Up @@ -245,7 +245,7 @@ class Hero extends Component {
{/* flickr link */}
{img.permalink && !img.permalink.includes("custom-image") ? <p className="cp-hero-credits-text u-font-xs">
<span className="u-visually-hidden">Direct link: </span>
<a className="cp-hero-credits-link" href={img.permalink}>
<a className="cp-hero-credits-link" href={img.permalink} target="_blank" rel="noreferrer">
{img.permalink.replace("https://", "")}
</a>
</p> : ""}
Expand Down

0 comments on commit 397196d

Please sign in to comment.