From a0ed21125cc8e731bdf6e6fe90d9a08a55503739 Mon Sep 17 00:00:00 2001 From: euzuro Date: Thu, 5 Oct 2006 20:21:48 +0000 Subject: [PATCH] typo git-svn-id: http://svn.openlayers.org/trunk/openlayers@1610 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/WMS/Untiled.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Layer/WMS/Untiled.js b/lib/OpenLayers/Layer/WMS/Untiled.js index e2e6c9b8d7..a3a8f379bc 100644 --- a/lib/OpenLayers/Layer/WMS/Untiled.js +++ b/lib/OpenLayers/Layer/WMS/Untiled.js @@ -109,7 +109,7 @@ OpenLayers.Layer.WMS.Untiled.prototype = moveTo:function(bounds, zoomChanged, dragging) { OpenLayers.Layer.HTTPRequest.prototype.moveTo.apply(this,arguments); - if (!bounds == null) { + if (bounds == null) { bounds = this.map.getExtent(); }