diff --git a/src/components/AppLayout/components/AppLayoutBackgroundImg.astro b/src/components/AppLayout/components/AppLayoutBackgroundImg.astro index 862c794..58202ac 100644 --- a/src/components/AppLayout/components/AppLayoutBackgroundImg.astro +++ b/src/components/AppLayout/components/AppLayoutBackgroundImg.astro @@ -100,6 +100,7 @@ const uniqueId = getRandomId(); const img = document.getElementById(uniqueId); const parent = img.parentElement; if (!parent || !img) return; + if (img.complete) return; parent.style.animationPlayState = "paused"; img.addEventListener(