From 43d1281d765ffb6947dfee73bffe501159b65074 Mon Sep 17 00:00:00 2001 From: Daggertooth Date: Sat, 30 Sep 2017 17:35:49 -0500 Subject: [PATCH] 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(-) diff --git a/app/javascript/mastodon/components/media_gallery.js b/app/javascript/mastodon/components/media_gallery.js index e7f14a7db5..fb71d8c5ca 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') {