summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDessalines <happydooby@gmail.com>2019-05-05 14:50:17 -0700
committerDessalines <happydooby@gmail.com>2019-05-05 14:50:17 -0700
commitc9b7cd67fab415515b09f004665569cbf667da28 (patch)
tree9dbd0feb17466155627be9f9c5b1aa264e4e4993
parentfab44d58e620c36dea659ec937fa56a9ad4b9936 (diff)
Better image click
-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 87dac92c..0245d65a 100644
--- a/ui/src/components/post-listing.tsx
+++ b/ui/src/components/post-listing.tsx
@@ -99,7 +99,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
<span>
<span class="pointer ml-2 badge badge-light text-muted small" onClick={linkEvent(this, this.handleImageExpandClick)}>-</span>
<div>
- <a href={post.url} target="_blank"><img class="img-fluid" src={post.url} /></a>
+ <span class="pointer" onClick={linkEvent(this, this.handleImageExpandClick)}><img class="img-fluid" src={post.url} /></span>
</div>
</span>
}