]> Untitled Git - lemmy-ui.git/commitdiff
Fix post title link bug. Fixes #547 (#563)
authorDessalines <dessalines@users.noreply.github.com>
Wed, 2 Feb 2022 14:53:17 +0000 (09:53 -0500)
committerGitHub <noreply@github.com>
Wed, 2 Feb 2022 14:53:17 +0000 (09:53 -0500)
src/shared/components/post/post-listing.tsx

index bf90cb26383208cb7fd033f37700f384cb874a3d..a923c1f619b1c91cbf4562f5e41d630117332ff1 100644 (file)
@@ -1627,7 +1627,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
   handleImageExpandClick(i: PostListing, event: any) {
     event.preventDefault();
     i.state.imageExpanded = !i.state.imageExpanded;
-    i.state.showBody = i.state.imageExpanded;
     i.setState(i.state);
     setupTippy();
   }