From b110cc542fe9dc853afc01dfa97586e6b2dd9f2a Mon Sep 17 00:00:00 2001 From: Daggertooth Date: Sat, 30 Sep 2017 17:35:49 -0500 Subject: Add image descriptions to title attribute to view on mouse hover/long-press. (#5137) * Add image descriptions to `title` attribute to view on mouse hover/long-press. * Too many title properties may spoil the broth. --- app/javascript/mastodon/components/media_gallery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/javascript/mastodon/components/media_gallery.js b/app/javascript/mastodon/components/media_gallery.js index e7f14a7db..fb71d8c5c 100644 --- a/app/javascript/mastodon/components/media_gallery.js +++ b/app/javascript/mastodon/components/media_gallery.js @@ -135,7 +135,7 @@ class Item extends React.PureComponent { onClick={this.handleClick} target='_blank' > - {attachment.get('description')} + {attachment.get('description')} ); } else if (attachment.get('type') === 'gifv') { -- cgit