mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-21 13:19:22 +01:00
Prevent repeated description for alt+figcaption
This commit is contained in:
parent
f7ffce1b46
commit
fe80215325
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ function Media({ media, to, showOriginal, autoAnimate, onClick = () => {} }) {
|
||||||
<>
|
<>
|
||||||
<img
|
<img
|
||||||
src={previewUrl}
|
src={previewUrl}
|
||||||
alt={description}
|
alt={showInlineDesc ? '' : description}
|
||||||
width={width}
|
width={width}
|
||||||
height={height}
|
height={height}
|
||||||
data-orientation={orientation}
|
data-orientation={orientation}
|
||||||
|
|
Loading…
Reference in a new issue