From 70f04dcf6244f96a4d861acc36e780afb6af08aa Mon Sep 17 00:00:00 2001 From: crschmidt Date: Fri, 26 Dec 2008 16:20:18 +0000 Subject: [PATCH] Fix for #1837: IE7 fails to reset tile's backgroundcolor after failure to load tile image. r=me, patch by eirik.wahl, (Closes #1837) git-svn-id: http://svn.openlayers.org/trunk/openlayers@8562 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Util.js b/lib/OpenLayers/Util.js index 611ea839a8..4cf91d524b 100644 --- a/lib/OpenLayers/Util.js +++ b/lib/OpenLayers/Util.js @@ -339,7 +339,7 @@ OpenLayers.Util.onImageLoad = function() { // if (!this.viewRequestID || (this.map && this.viewRequestID == this.map.viewRequestID)) { - this.style.backgroundColor = null; + this.style.backgroundColor ="transparent"; this.style.display = ""; } };