kopia lustrzana https://github.com/cheeaun/phanpy
No lazy loading when loading in the carousel
rodzic
6156f88721
commit
096712a9dd
|
@ -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:
|
||||||
|
|
Ładowanie…
Reference in New Issue