proper tabbing is the artichoke of a good garden.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@6392 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2008-02-28 00:02:48 +00:00
parent 3e21905fc4
commit d3294e73fd

View File

@@ -230,10 +230,10 @@ OpenLayers.Popup = OpenLayers.Class({
*/
updatePosition: function() {
if ((this.lonlat) && (this.map)) {
var px = this.map.getLayerPxFromLonLat(this.lonlat);
if (px) {
this.moveTo(px);
}
var px = this.map.getLayerPxFromLonLat(this.lonlat);
if (px) {
this.moveTo(px);
}
}
},