From 40a00ab46b25c6167bf849d99ebadd43c9e7827f Mon Sep 17 00:00:00 2001 From: crschmidt Date: Wed, 17 May 2006 15:28:07 +0000 Subject: [PATCH] this.img, not img git-svn-id: http://svn.openlayers.org/trunk/openlayers@97 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Tile/Image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Tile/Image.js b/lib/OpenLayers/Tile/Image.js index 74337ce5aa..11ccd13695 100644 --- a/lib/OpenLayers/Tile/Image.js +++ b/lib/OpenLayers/Tile/Image.js @@ -18,7 +18,7 @@ OpenLayers.Tile.Image.prototype = * @param OpenLayers.Pixel */ setPosition:function(point) { - if (img) { + if (this.img) { this.img.style.top = point.y+"px"; this.img.style.left = point.x+"px"; this.img.style.position = "absolute";