aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Map
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-12-06 15:38:40 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-12-12 21:27:39 +0000
commitec8ad12f3b1103b22cc2e7694387daa7294f1ed7 (patch)
treecfc44a522ef541d1d85f31e8b2bcf0f3910db6f1 /perllib/FixMyStreet/Map
parentd688eb43a99a3c7782343677cd7285f66cfb3c32 (diff)
[UK] Make sure jQuery is loaded where it is needed
Bromley uses jQuery for its A-Z on all pages; only load Bristol map JavaScript on map pages (same as Angus); drop Oxfordshire JS use of jQuery; fix Zurich load order; and improve jQuery checking in other JavaScript.
Diffstat (limited to 'perllib/FixMyStreet/Map')
-rw-r--r--perllib/FixMyStreet/Map/Bristol.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Map/Bristol.pm b/perllib/FixMyStreet/Map/Bristol.pm
index a75bb5eb9..5d05fbd34 100644
--- a/perllib/FixMyStreet/Map/Bristol.pm
+++ b/perllib/FixMyStreet/Map/Bristol.pm
@@ -63,6 +63,8 @@ sub map_javascript { [
'/js/map-OpenLayers.js',
'/js/map-wmts-base.js',
'/js/map-wmts-bristol.js',
+ '/cobrands/fixmystreet/assets.js',
+ '/cobrands/bristol/js.js',
] }
# Reproject a WGS84 lat/lon into BNG easting/northing