mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-13 09:28:50 +01:00
No lazy loading when loading in the carousel
This commit is contained in:
parent
6156f88721
commit
096712a9dd
1 changed files with 1 additions and 1 deletions
|
@ -742,7 +742,7 @@ function Media({ media, showOriginal, autoAnimate, onClick = () => {} }) {
|
||||||
alt={description}
|
alt={description}
|
||||||
width={width}
|
width={width}
|
||||||
height={height}
|
height={height}
|
||||||
loading="lazy"
|
loading={showOriginal ? 'eager' : 'lazy'}
|
||||||
style={
|
style={
|
||||||
!showOriginal && {
|
!showOriginal && {
|
||||||
backgroundColor:
|
backgroundColor:
|
||||||
|
|
Loading…
Reference in a new issue