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}
|
||||
width={width}
|
||||
height={height}
|
||||
loading="lazy"
|
||||
loading={showOriginal ? 'eager' : 'lazy'}
|
||||
style={
|
||||
!showOriginal && {
|
||||
backgroundColor:
|
||||
|
|
Ładowanie…
Reference in New Issue