diff --git a/lib/network/Images.js b/lib/network/Images.js index 850a7be0..4d556ca1 100644 --- a/lib/network/Images.js +++ b/lib/network/Images.js @@ -35,7 +35,7 @@ class Images { } //Clear the old subscription to the error event and put a new in place that only handle errors in loading the brokenImageUrl - imageToLoadBrokenUrlOn.onerror = () => { + imageToLoadBrokenUrlOn.image.onerror = () => { console.error("Could not load brokenImage:", brokenUrl); // cache item will contain empty image, this should be OK for default };