diff --git a/src/modules/esl-image-utils/core/esl-image-container.mixin.ts b/src/modules/esl-image-utils/core/esl-image-container.mixin.ts index 7276a3339..79f4f1dc3 100644 --- a/src/modules/esl-image-utils/core/esl-image-container.mixin.ts +++ b/src/modules/esl-image-utils/core/esl-image-container.mixin.ts @@ -79,7 +79,8 @@ export class ESLImageContainerMixin extends ESLMixinElement { @listen({ event: 'load error', - target: (that: ESLImageContainerMixin) => that.$images + target: (that: ESLImageContainerMixin) => that.$images, + condition: (that: ESLImageContainerMixin) => !!that.$images.length }) protected _onReady(): void { if (!this.complete) return;