Merge pull request #104 from fredj/tile-position
Only set img.style.position once. r=ahocevar, elemoine
This commit is contained in:
@@ -239,7 +239,6 @@ OpenLayers.Tile.Image = OpenLayers.Class(OpenLayers.Tile, {
|
|||||||
style.top = -top + "%";
|
style.top = -top + "%";
|
||||||
style.width = (2 * left + 100) + "%";
|
style.width = (2 * left + 100) + "%";
|
||||||
style.height = (2 * top + 100) + "%";
|
style.height = (2 * top + 100) + "%";
|
||||||
style.position = "absolute";
|
|
||||||
} else {
|
} else {
|
||||||
style.width = "100%";
|
style.width = "100%";
|
||||||
style.height = "100%";
|
style.height = "100%";
|
||||||
|
|||||||
Reference in New Issue
Block a user