|
|
@ -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
|
|
|
|
}; |
|
|
|