mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-03-18 01:10:46 -04:00
[Glitch] Add at-symbol prepended to mention span title
Port d9a5c1acfaea82570f2990ad2fc234eba6f57c60 to glitch-soc Co-authored-by: Sam BC <samuel.balbirnie-cumming@xdesign.com> Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
0a5271629c
commit
ac74374311
@ -163,7 +163,7 @@ class StatusContent extends PureComponent {
|
||||
|
||||
if (mention) {
|
||||
link.addEventListener('click', this.onMentionClick.bind(this, mention), false);
|
||||
link.setAttribute('title', mention.get('acct'));
|
||||
link.setAttribute('title', `@${mention.get('acct')}`);
|
||||
if (rewriteMentions !== 'no') {
|
||||
while (link.firstChild) link.removeChild(link.firstChild);
|
||||
link.appendChild(document.createTextNode('@'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user