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
This commit is contained in:
crschmidt
2008-12-26 16:20:18 +00:00
parent 315b8c2d30
commit 70f04dcf62

View File

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