Hiding thumbnails for nsfw posts and nsfw community posts.

- Fixes #337
pull/722/head
Dessalines 2019-11-22 16:26:16 -08:00
parent 0651ae5ec0
commit 2cf117b3c5
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
</svg>
</button>
</div>
{post.url && isImage(post.url) && (
{post.url && isImage(post.url) && !post.nsfw && !post.community_nsfw && (
<span
title={i18n.t('expand_here')}
class="pointer"