aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-wmts-isleofwight.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-01-10 11:55:06 +0000
committerMatthew Somerville <matthew@mysociety.org>2020-01-10 11:55:06 +0000
commit89897e5912e5ba17318917f5290561473d9b64c1 (patch)
tree42f0286681b1dadb4ef01dd71839734bfd095977 /web/js/map-wmts-isleofwight.js
parent91cb479214ea9e8032b2f7f4e5dc99501d369593 (diff)
parent3abb9d14c6879d0dca1f88329ea4bcf6b31d44ee (diff)
Merge branch 'mobile-debounce-replacestate'
Diffstat (limited to 'web/js/map-wmts-isleofwight.js')
-rw-r--r--web/js/map-wmts-isleofwight.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/web/js/map-wmts-isleofwight.js b/web/js/map-wmts-isleofwight.js
index 57e41e696..0e725e3f1 100644
--- a/web/js/map-wmts-isleofwight.js
+++ b/web/js/map-wmts-isleofwight.js
@@ -163,15 +163,10 @@ fixmystreet.maps.matrix_ids = [
* to setup the way the map should operate.
*/
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' })
];