git-svn-id: http://svn.openlayers.org/trunk/openlayers@1212 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-08-15 12:43:50 +00:00
parent 634eb0afc8
commit 512465037b
+2 -2
View File
@@ -51,11 +51,11 @@ OpenLayers.Tile.Image.prototype =
this.imgDiv.style.display = "none"; this.imgDiv.style.display = "none";
if (this.layer.alpha) { if (this.layer.alpha) {
OpenLayers.Util.modifyAlphaImageDiv(this.imgDiv, OpenLayers.Util.modifyAlphaImageDiv(this.imgDiv,
null, this.position, this.size, this.url); null, this.position, this.size, this.url);
} else { } else {
this.imgDiv.src = this.url; this.imgDiv.src = this.url;
OpenLayers.Util.modifyDOMElement(this.imgDiv, OpenLayers.Util.modifyDOMElement(this.imgDiv,
null, this.position, this.size) ; null, this.position, this.size) ;
} }
}, },