aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-google-ol.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-09-19 20:21:58 +0100
committerMatthew Somerville <matthew@mysociety.org>2019-09-19 20:21:58 +0100
commit645c0663c4c7ce2d2d240858ed06446efe8ad328 (patch)
treec5a398361d228b4bd3675df562438ed56f91d830 /web/js/map-google-ol.js
parent4f14c62b661af827aefdc354625c2a16ad8acd48 (diff)
parent6ac0633d87da551f25c3d7d4cf2c902acf2a9e51 (diff)
Merge branch 'some-bits-from-ce-cobrand'
Diffstat (limited to 'web/js/map-google-ol.js')
-rw-r--r--web/js/map-google-ol.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/web/js/map-google-ol.js b/web/js/map-google-ol.js
index 4b2d818c9..2769853ce 100644
--- a/web/js/map-google-ol.js
+++ b/web/js/map-google-ol.js
@@ -17,15 +17,10 @@ $(function(){
});
fixmystreet.maps.config = function() {
- var permalink_id;
- if ($('#map_permalink').length) {
- permalink_id = 'map_permalink';
- }
-
fixmystreet.controls = [
new OpenLayers.Control.ArgParserFMS(),
new OpenLayers.Control.Navigation(),
- new OpenLayers.Control.PermalinkFMS(permalink_id),
+ new OpenLayers.Control.PermalinkFMS('map'),
new OpenLayers.Control.PanZoomFMS({id: 'fms_pan_zoom' })
];