[28150] Don't return early from global fallback

https://community.openproject.com/wp/28150
pull/6827/head
Oliver Günther 6 years ago
parent 85ea063956
commit 33642a0482
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 2
      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';

Loading…
Cancel
Save