aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-OpenLayers.js
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2016-04-04 16:34:34 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-06-01 12:46:06 +0100
commitf87d065b307e4b952071836788d1acfc79fd63c6 (patch)
treebdace2e49654573029137a6766c11e664029dc35 /web/js/map-OpenLayers.js
parent7f135798a6523ba7e7e0125007550abc9cc6916c (diff)
Allow scroll wheel to zoom map.
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r--web/js/map-OpenLayers.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js
index bef9bd58f..b3f3a38d1 100644
--- a/web/js/map-OpenLayers.js
+++ b/web/js/map-OpenLayers.js
@@ -700,9 +700,6 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {
trigger: function(e) {
var cobrand = $('meta[name="cobrand"]').attr('content');
- if (typeof fixmystreet.nav_control != 'undefined') {
- fixmystreet.nav_control.disableZoomWheel();
- }
var lonlat = fixmystreet.map.getLonLatFromViewPortPx(e.xy);
if (fixmystreet.page == 'new') {
/* Already have a pin */