Skip to content

Commit

Permalink
Fixing link targets reloading page. Fixes #2275 (#2276)
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines authored Dec 7, 2023
1 parent ab9c7a0 commit 2fff988
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/shared/components/post/post-listing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
className="text-body"
to={`/post/${post.id}`}
title={I18NextService.i18n.t("comments")}
target={this.linkTarget}
>
<div className="thumbnail rounded bg-light d-flex justify-content-center">
<Icon icon="message-square" classes="d-flex align-items-center" />
Expand Down Expand Up @@ -636,7 +635,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
title={title}
to={`/post/${pv.post.id}?scrollToComments=true`}
data-tippy-content={title}
target={this.linkTarget}
>
<Icon icon="message-square" classes="me-1" inline />
{pv.counts.comments}
Expand Down

0 comments on commit 2fff988

Please sign in to comment.