kopia lustrzana https://github.com/cheeaun/phanpy
Try decoding=sync
rodzic
ec88110e2d
commit
e502b8e377
|
@ -118,7 +118,7 @@ function Media({ media, to, showOriginal, autoAnimate, onClick = () => {} }) {
|
||||||
height={height}
|
height={height}
|
||||||
data-orientation={orientation}
|
data-orientation={orientation}
|
||||||
loading="eager"
|
loading="eager"
|
||||||
decoding="async"
|
decoding="sync"
|
||||||
onLoad={(e) => {
|
onLoad={(e) => {
|
||||||
e.target.closest('.media-image').style.backgroundImage = '';
|
e.target.closest('.media-image').style.backgroundImage = '';
|
||||||
e.target.closest('.media-zoom').style.display = '';
|
e.target.closest('.media-zoom').style.display = '';
|
||||||
|
|
Ładowanie…
Reference in New Issue