diff options
author | ThibG <thib@sitedethib.com> | 2019-07-28 06:00:51 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-07-28 16:47:36 +0200 |
commit | 7f147acea61f1f37928f38eef507b34c98e003fd (patch) | |
tree | 9be013e6948dbb8c591fe55a335e2c87647df3b1 /app/javascript/flavours/glitch/components | |
parent | 31fc3be0a4342dbe91480d058b0afeddb272ed3b (diff) |
[Glitch] Change contrast of status links that are not mentions nor hashtags
Port 10e78ecf57242cc5030b903131bf27e027bb4a97 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/components')
-rw-r--r-- | app/javascript/flavours/glitch/components/status_content.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/components/status_content.js b/app/javascript/flavours/glitch/components/status_content.js index befbe340f..602a28064 100644 --- a/app/javascript/flavours/glitch/components/status_content.js +++ b/app/javascript/flavours/glitch/components/status_content.js @@ -51,6 +51,7 @@ export default class StatusContent extends React.PureComponent { } else { link.addEventListener('click', this.onLinkClick.bind(this), false); link.setAttribute('title', link.href); + link.classList.add('unhandled-link'); } link.setAttribute('target', '_blank'); |