From 33642a04829148d7fe4e41df570966a3bb197404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Mon, 13 Aug 2018 15:34:50 +0200 Subject: [PATCH] [28150] Don't return early from global fallback https://community.openproject.com/wp/28150 --- frontend/module/globals/global-avatar-fallback.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/module/globals/global-avatar-fallback.ts b/frontend/module/globals/global-avatar-fallback.ts index f0555659c8..cd96234667 100644 --- a/frontend/module/globals/global-avatar-fallback.ts +++ b/frontend/module/globals/global-avatar-fallback.ts @@ -49,7 +49,7 @@ window.addEventListener('error', (evt) => { if (target.dataset.avatarFallbackRemove) { parent && parent.removeChild(target); - return; + continue; } const classes = target.dataset.avatarFallbackIcon || 'icon icon-user avatar';