From 44ab167797df1f8497ef67c2b9467def796f08d7 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 16 Dec 2016 16:13:30 +0000 Subject: [Angus,Bristol] Don't try and add assets if no map --- web/cobrands/bristol/js.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'web/cobrands/bristol/js.js') diff --git a/web/cobrands/bristol/js.js b/web/cobrands/bristol/js.js index 129037d23..1fc23d61a 100644 --- a/web/cobrands/bristol/js.js +++ b/web/cobrands/bristol/js.js @@ -1,5 +1,9 @@ (function(){ +if (!fixmystreet.maps) { + return; +} + var options = { wfs_url: "https://maps.bristol.gov.uk/arcgis/services/ext/FixMyStreetSupportData/MapServer/WFSServer", wfs_feature: "COD_ASSETS_POINT", -- cgit v1.2.3