diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-03-01 09:34:25 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-03-01 09:34:25 +0000 |
commit | 4c6fe90795c6f1597775ad317798a6c75f8f27f9 (patch) | |
tree | 084928ed00edc044e4d4ed15856f529a269a3119 /web/js/map-bing-ol.js | |
parent | 9a51dfaeef496a4d08b5054bf0e664184157cc29 (diff) |
Remove some of #224 due to new #258.
Diffstat (limited to 'web/js/map-bing-ol.js')
-rw-r--r-- | web/js/map-bing-ol.js | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/web/js/map-bing-ol.js b/web/js/map-bing-ol.js index 478bf6527..8f0ba4da0 100644 --- a/web/js/map-bing-ol.js +++ b/web/js/map-bing-ol.js @@ -3,21 +3,13 @@ function set_map_config(perm) { if ($('#map_permalink').length) { permalink_id = 'map_permalink'; } - if ($('html').hasClass('mobile')) { - fixmystreet.controls = [ - new OpenLayers.Control.Attribution(), - new OpenLayers.Control.ArgParser() - ]; - $('#sub_map_links').hide(); - } else { - fixmystreet.controls = [ - new OpenLayers.Control.Attribution(), - new OpenLayers.Control.ArgParser(), - new OpenLayers.Control.Navigation({ zoomWheelEnabled: false }), - new OpenLayers.Control.Permalink(permalink_id), - new OpenLayers.Control.PanZoomFMS({id: 'fms_pan_zoom' }) - ]; - } + fixmystreet.controls = [ + new OpenLayers.Control.Attribution(), + new OpenLayers.Control.ArgParser(), + new OpenLayers.Control.Navigation({ zoomWheelEnabled: false }), + new OpenLayers.Control.Permalink(permalink_id), + new OpenLayers.Control.PanZoomFMS({id: 'fms_pan_zoom' }) + ]; fixmystreet.map_type = OpenLayers.Layer.Bing; } |