]> Untitled Git - lemmy.git/commitdiff
Better image click
authorDessalines <tyhou13@gmx.com>
Sun, 5 May 2019 21:50:17 +0000 (14:50 -0700)
committerDessalines <tyhou13@gmx.com>
Sun, 5 May 2019 21:50:17 +0000 (14:50 -0700)
ui/src/components/post-listing.tsx

index 87dac92c86bd57e0a1fcae91e855a8a08e978c8c..0245d65ae591cf0b944e3738ba6ff2f47c78d7ed 100644 (file)
@@ -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>
                 }