Skip to content

Commit

Permalink
#3 Open links in new windows/tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
blms committed Jan 19, 2021
1 parent 147c24e commit 7cc936d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Document/Document.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ const Document = ({
href={type === 'essay'
? `${process.env.NEXT_PUBLIC_ARCHIVE_URL}/document/original/${id}`
: `${process.env.NEXT_PUBLIC_ARCHIVE_URL}/document/context/${id}`}
target="_blank"
>
<DocDate>{date}</DocDate>
<DocCard>
Expand Down

0 comments on commit 7cc936d

Please sign in to comment.