Загрузить фоновые изображения заранее

This commit is contained in:
2026-09-19 15:17:35 +08:00
parent f20a04e02f
commit 2f8c025e9e
+1 -1
View File
@@ -32,7 +32,7 @@
loadBackground(entry.target);
observer.unobserve(entry.target);
});
}, { rootMargin: '240px 0px' });
}, { rootMargin: '720px 0px' });
lazyBackgrounds.forEach((element) => backgroundObserver.observe(element));