about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-10-25 18:47:04 +0200
committerGitHub <noreply@github.com>2022-10-25 18:47:04 +0200
commit9757c917da1753a706c4cd9e191e77059620b022 (patch)
tree2bd106495ce245aa9691c6dd6738f1f3bd826d7c /app/javascript
parent30453fab80d55fc10766f0e067c31d96753ccfda (diff)
Fix `nofollow` rel being removed in web UI (#19455)
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/components/status_content.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/javascript/mastodon/components/status_content.js b/app/javascript/mastodon/components/status_content.js
index 56e8432b6..ff539268c 100644
--- a/app/javascript/mastodon/components/status_content.js
+++ b/app/javascript/mastodon/components/status_content.js
@@ -61,9 +61,6 @@ class StatusContent extends React.PureComponent {
         link.setAttribute('title', link.href);
         link.classList.add('unhandled-link');
       }
-
-      link.setAttribute('target', '_blank');
-      link.setAttribute('rel', 'noopener noreferrer');
     }
 
     if (this.props.status.get('collapsed', null) === null) {