diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-01-18 12:00:11 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-01-18 12:00:11 +0000 |
commit | a4f9695fe2525a15698fad9da63de6c19c1a5c79 (patch) | |
tree | bf31c0a60c5d90b908f65fa97e9ad15f46452ed3 /web/js/map-OpenLayers.js | |
parent | 05b161506569aab1738e323c5775fcb0b13a2aaa (diff) | |
parent | bacf38043286a1361c8a41b8e8084f6eabafafe1 (diff) |
Merge branch '1958-adjust-zoom-mobile'
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r-- | web/js/map-OpenLayers.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index 1d417f68e..1238bb351 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -240,9 +240,6 @@ $.extend(fixmystreet.utils, { strategy.deactivate(); var center = bounds.getCenterLonLat(); var z = fixmystreet.map.getZoomForExtent(bounds); - if ( z < 13 && $('html').hasClass('mobile') ) { - z = 13; - } fixmystreet.map.setCenter(center, z); // Reactivate the strategy and make it think it's done an update strategy.activate(); |