Fix bug with applayout background image not loading
This commit is contained in:
parent
2cacccae86
commit
6eb64b48a2
|
@ -100,6 +100,7 @@ const uniqueId = getRandomId();
|
||||||
const img = document.getElementById(uniqueId);
|
const img = document.getElementById(uniqueId);
|
||||||
const parent = img.parentElement;
|
const parent = img.parentElement;
|
||||||
if (!parent || !img) return;
|
if (!parent || !img) return;
|
||||||
|
if (img.complete) return;
|
||||||
|
|
||||||
parent.style.animationPlayState = "paused";
|
parent.style.animationPlayState = "paused";
|
||||||
img.addEventListener(
|
img.addEventListener(
|
||||||
|
|
Loading…
Reference in New Issue