aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/bristol/js.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-12-16 16:13:30 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-12-16 16:13:30 +0000
commit44ab167797df1f8497ef67c2b9467def796f08d7 (patch)
treee79037ccfa3d1172ef414173c0fc6243b964341b /web/cobrands/bristol/js.js
parent03b715f6134e40fcce592e9c33b8a8f119dc814c (diff)
[Angus,Bristol] Don't try and add assets if no map
Diffstat (limited to 'web/cobrands/bristol/js.js')
-rw-r--r--web/cobrands/bristol/js.js4
1 files changed, 4 insertions, 0 deletions
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",