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:
@@ -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 = "";
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user