mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
web/timeline: fix using filename as image alt
This commit is contained in:
parent
10dd28bfda
commit
26346df920
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ const MessageBody = ({ event }: EventContentProps) => {
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
style={style.media}
|
style={style.media}
|
||||||
src={getMediaURL(content.url ?? content.file?.url)}
|
src={getMediaURL(content.url ?? content.file?.url)}
|
||||||
alt={content.body}
|
alt={content.filename ?? content.body}
|
||||||
onClick={openLightbox}
|
onClick={openLightbox}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue