Browse Source

Fix linting issues

Eugen Rochko 3 months ago
parent
commit
cfb90dc731
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/javascript/mastodon/components/status_content.jsx

+ 1 - 1
app/javascript/mastodon/components/status_content.jsx

@@ -123,7 +123,7 @@ class StatusContent extends PureComponent {
       } else if (link.textContent[0] === '#' || (link.previousSibling && link.previousSibling.textContent && link.previousSibling.textContent[link.previousSibling.textContent.length - 1] === '#')) {
         link.addEventListener('click', this.onHashtagClick.bind(this, link.text), false);
         link.setAttribute('href', `/tags/${link.text.replace(/^#/, '')}`);
-     } else if (status.get('uri') === link.href) {
+      } else if (status.get('uri') === link.href) {
         // the link points to the source of the status. this happens e.g. with lemmy posts.
         // there is no use in trying to open the url on this instance as it's already opened.
         link.setAttribute('title', link.href);