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 parent = img.parentElement;
|
||||
if (!parent || !img) return;
|
||||
if (img.complete) return;
|
||||
|
||||
parent.style.animationPlayState = "paused";
|
||||
img.addEventListener(
|
||||
|
|
Loading…
Reference in New Issue