about summary refs log tree commit diff
path: root/app/javascript/mastodon/components/status_content.js
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-07-28 06:00:51 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-07-28 06:00:51 +0200
commit10e78ecf57242cc5030b903131bf27e027bb4a97 (patch)
tree85f9685c5db6cd91ffc3f3fd93531299b810287f /app/javascript/mastodon/components/status_content.js
parentf371b32137ccd7e74ca29d25af2072fb79654b15 (diff)
Change contrast of status links that are not mentions nor hashtags (#11406)
Diffstat (limited to 'app/javascript/mastodon/components/status_content.js')
-rw-r--r--app/javascript/mastodon/components/status_content.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/components/status_content.js b/app/javascript/mastodon/components/status_content.js
index 8a05415af..871fab2dc 100644
--- a/app/javascript/mastodon/components/status_content.js
+++ b/app/javascript/mastodon/components/status_content.js
@@ -55,6 +55,7 @@ export default class StatusContent extends React.PureComponent {
         link.addEventListener('click', this.onHashtagClick.bind(this, link.text), false);
       } else {
         link.setAttribute('title', link.href);
+        link.classList.add('unhandled-link');
       }
 
       link.setAttribute('target', '_blank');