From 2fe02bec7ccafc45ec9bfd954a848a731b4f16c3 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 12 Feb 2021 12:55:07 -0500 Subject: [PATCH] Removing targets (#179) --- src/shared/components/community-link.tsx | 1 - src/shared/components/community.tsx | 1 - src/shared/components/iframely-card.tsx | 8 +------- src/shared/components/inbox.tsx | 1 - src/shared/components/instances.tsx | 2 +- src/shared/components/main.tsx | 3 --- src/shared/components/markdown-textarea.tsx | 1 - src/shared/components/post-form.tsx | 1 - src/shared/components/post-listing.tsx | 4 ---- src/shared/components/private-message-form.tsx | 1 - src/shared/components/sort-select.tsx | 1 - src/shared/components/user-listing.tsx | 1 - src/shared/components/user.tsx | 4 +--- 13 files changed, 3 insertions(+), 26 deletions(-) diff --git a/src/shared/components/community-link.tsx b/src/shared/components/community-link.tsx index 48dd134..a0f2ba8 100644 --- a/src/shared/components/community-link.tsx +++ b/src/shared/components/community-link.tsx @@ -41,7 +41,6 @@ export class CommunityLink extends Component { title={apubName} className={`${this.props.muted ? 'text-muted' : ''}`} to={link} - target={this.props.realLink ? '_blank' : ''} > {!this.props.hideAvatar && community.icon && showAvatars() && ( diff --git a/src/shared/components/community.tsx b/src/shared/components/community.tsx index 156a9e9..01fc50c 100644 --- a/src/shared/components/community.tsx +++ b/src/shared/components/community.tsx @@ -341,7 +341,6 @@ export class Community extends Component { this.state.communityRes.community_view.community.actor_id, this.state.sort )} - target="_blank" title="RSS" rel="noopener" > diff --git a/src/shared/components/iframely-card.tsx b/src/shared/components/iframely-card.tsx index 3624c95..efd9a90 100644 --- a/src/shared/components/iframely-card.tsx +++ b/src/shared/components/iframely-card.tsx @@ -36,19 +36,13 @@ export class IFramelyCard extends Component<
{post.name !== post.embed_title && [
- + {post.embed_title}
, diff --git a/src/shared/components/inbox.tsx b/src/shared/components/inbox.tsx index f77f1e2..4cc79ac 100644 --- a/src/shared/components/inbox.tsx +++ b/src/shared/components/inbox.tsx @@ -152,7 +152,6 @@ export class Inbox extends Component { diff --git a/src/shared/components/instances.tsx b/src/shared/components/instances.tsx index 31a4cff..d0831c6 100644 --- a/src/shared/components/instances.tsx +++ b/src/shared/components/instances.tsx @@ -60,7 +60,7 @@ export class Instances extends Component {