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(); }