Corrected typo in Control.moveTo. Thanks to Craig Barnes for finding this bug. Fixes #531.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2726 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -79,7 +79,7 @@ OpenLayers.Control.prototype = {
|
|||||||
moveTo: function (px) {
|
moveTo: function (px) {
|
||||||
if ((px != null) && (this.div != null)) {
|
if ((px != null) && (this.div != null)) {
|
||||||
this.div.style.left = px.x + "px";
|
this.div.style.left = px.x + "px";
|
||||||
this.div.style.top = px.x + "px";
|
this.div.style.top = px.y + "px";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user