From f57e1d545c277f63a916284da56822f6a823059c Mon Sep 17 00:00:00 2001 From: justinharrell Date: Fri, 8 Feb 2019 10:57:12 -0500 Subject: [PATCH] Fixed endless image loading errors when broken image could not be loaded (#4245) --- lib/network/Images.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 };