FIX: Ensure low-resolution placeholders are used while loading images (#18194)
This commit is contained in:
parent
c1887d95ff
commit
415535d577
|
@ -25,7 +25,7 @@ export function nativeLazyLoading(api) {
|
|||
|
||||
img.style.setProperty(
|
||||
"background-image",
|
||||
`url(${img.dataset.smallUpload});`
|
||||
`url(${img.dataset.smallUpload})`
|
||||
);
|
||||
img.style.setProperty("background-size", "cover");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue