diff --git a/app/javascript/mastodon/components/media_gallery.jsx b/app/javascript/mastodon/components/media_gallery.jsx index ada4d2e9f..4e461d51a 100644 --- a/app/javascript/mastodon/components/media_gallery.jsx +++ b/app/javascript/mastodon/components/media_gallery.jsx @@ -101,7 +101,7 @@ class Item extends PureComponent { height = 50; } - const hasMediaDescription = !attachment.get('description')?.length > 0; + const hasMediaDescription = attachment.get('description')?.length > 0; if (hasMediaDescription) { badges.push(ALT); }