From 651caa931a09ca5d32ee4400ca9f23416964a8aa Mon Sep 17 00:00:00 2001 From: crschmidt Date: Tue, 19 Sep 2006 20:23:48 +0000 Subject: [PATCH] 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 --- lib/OpenLayers/Util.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/OpenLayers/Util.js b/lib/OpenLayers/Util.js index ec2dc87ed2..741ed06860 100644 --- a/lib/OpenLayers/Util.js +++ b/lib/OpenLayers/Util.js @@ -148,6 +148,7 @@ OpenLayers.Util.onImageLoadErrorColor = "pink"; OpenLayers.Util.onImageLoadError = function() { this.style.backgroundColor = OpenLayers.Util.onImageLoadErrorColor; + this.style.display = ""; };