From 8782ee3e1539af088fbbee83c1ef7a21abcec810 Mon Sep 17 00:00:00 2001 From: euzuro Date: Thu, 5 Oct 2006 18:56:17 +0000 Subject: [PATCH] no need to get this again. git-svn-id: http://svn.openlayers.org/trunk/openlayers@1603 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Layer.js b/lib/OpenLayers/Layer.js index 079a3a83d9..bcbd74328c 100644 --- a/lib/OpenLayers/Layer.js +++ b/lib/OpenLayers/Layer.js @@ -242,7 +242,7 @@ OpenLayers.Layer.prototype = { if (this.map != null) { var extent = this.map.getExtent(); if (extent != null) { - this.moveTo(this.map.getExtent(), true); + this.moveTo(extent, true); } } if ((this.map != null) &&