From cf4c14a1e4f3b5134794433112fc184743bb689a Mon Sep 17 00:00:00 2001 From: bartvde Date: Fri, 30 Oct 2009 17:23:47 +0000 Subject: [PATCH] clean up duplicate code block from the fix for ticket 2256 git-svn-id: http://svn.openlayers.org/trunk/openlayers@9769 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Control/GetFeature.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/OpenLayers/Control/GetFeature.js b/lib/OpenLayers/Control/GetFeature.js index 665e6b83cc..402e825915 100644 --- a/lib/OpenLayers/Control/GetFeature.js +++ b/lib/OpenLayers/Control/GetFeature.js @@ -285,13 +285,11 @@ OpenLayers.Control.GetFeature = OpenLayers.Class(OpenLayers.Control, { minXY.lon, minXY.lat, maxXY.lon, maxXY.lat ); - this.setModifiers(this.handlers.box.dragHandler.evt); - this.request(bounds); } else { bounds = this.pixelToBounds(position); - this.setModifiers(this.handlers.box.dragHandler.evt); - this.request(bounds); } + this.setModifiers(this.handlers.box.dragHandler.evt); + this.request(bounds); }, /**