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:
Schuyler Erle
2007-03-13 18:05:12 +00:00
parent dbdf9a3df8
commit a3acddd8bd

View File

@@ -79,7 +79,7 @@ OpenLayers.Control.prototype = {
moveTo: function (px) {
if ((px != null) && (this.div != null)) {
this.div.style.left = px.x + "px";
this.div.style.top = px.x + "px";
this.div.style.top = px.y + "px";
}
},