When we set the background color for an erroring image, we also want to

*display* the image... otherwise that color never shows up.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1489 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-09-19 20:23:48 +00:00
parent 7cd4022d7b
commit 651caa931a

View File

@@ -148,6 +148,7 @@ OpenLayers.Util.onImageLoadErrorColor = "pink";
OpenLayers.Util.onImageLoadError = function() {
this.style.backgroundColor = OpenLayers.Util.onImageLoadErrorColor;
this.style.display = "";
};