Load gallery thumbnails lazily instead of all at once
All checks were successful
Docker / build (release) Successful in 9s

This commit is contained in:
krek0 2026-09-24 13:50:18 +02:00
parent e8e27cf488
commit caa83ad318
2 changed files with 1 additions and 3 deletions

View file

@ -80,8 +80,6 @@
container.style.height = (top - SPACING + PADDING) + 'px';
items.forEach(item => {
item.style.visibility = 'visible';
const img = item.querySelector('img[data-lazy]');
if (img) img.src = img.dataset.lazy;
});
}