From 3fd5385e7b038bce4da566bcd193f0fd1e2c5383 Mon Sep 17 00:00:00 2001 From: Matthias Jouan Date: Tue, 11 Apr 2017 00:35:35 +0200 Subject: Add username as a title for mentions (#1385) Add a title attribute on mention links for both notifications and mentions in statuses. Related to #1350 --- .../components/features/notifications/components/notification.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/assets/javascripts/components/features/notifications') diff --git a/app/assets/javascripts/components/features/notifications/components/notification.jsx b/app/assets/javascripts/components/features/notifications/components/notification.jsx index c9279b20e..0607466d0 100644 --- a/app/assets/javascripts/components/features/notifications/components/notification.jsx +++ b/app/assets/javascripts/components/features/notifications/components/notification.jsx @@ -76,7 +76,7 @@ const Notification = React.createClass({ const account = notification.get('account'); const displayName = account.get('display_name').length > 0 ? account.get('display_name') : account.get('username'); const displayNameHTML = { __html: emojify(escapeTextContentForBrowser(displayName)) }; - const link = ; + const link = ; switch(notification.get('type')) { case 'follow': -- cgit