summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-04-20 12:04:17 -0700
committerDessalines <tyhou13@gmx.com>2019-04-20 12:04:17 -0700
commitbe08352cfdef1d1e9a3f2de8fa28aad8767aeeec (patch)
tree60b032dc3ff7f13477979594cbe2f9e558989514
parent3c6c4f4542796a0596ea96bec77bcca19ed1edd5 (diff)
Links from posts open in new tab.
- Fixes #88
-rw-r--r--ui/src/components/post-listing.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx
index 7103a8cf..8803d629 100644
--- a/ui/src/components/post-listing.tsx
+++ b/ui/src/components/post-listing.tsx
@@ -65,7 +65,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
<div className="pt-1 ml-4">
{post.url
? <div className="mb-0">
- <h5 className="d-inline"><a className="text-white" href={post.url} title={post.url}>{post.name}</a>
+ <h5 className="d-inline"><a className="text-white" href={post.url} target="_blank" title={post.url}>{post.name}</a>
{post.removed &&
<small className="ml-2 text-muted font-italic">removed</small>
}