diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-12-06 15:38:40 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-12-12 21:27:39 +0000 |
commit | ec8ad12f3b1103b22cc2e7694387daa7294f1ed7 (patch) | |
tree | cfc44a522ef541d1d85f31e8b2bcf0f3910db6f1 /web/cobrands/borsetshire/js.js | |
parent | d688eb43a99a3c7782343677cd7285f66cfb3c32 (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 'web/cobrands/borsetshire/js.js')
-rw-r--r-- | web/cobrands/borsetshire/js.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/cobrands/borsetshire/js.js b/web/cobrands/borsetshire/js.js index 9fdb3e31b..a9842ffdd 100644 --- a/web/cobrands/borsetshire/js.js +++ b/web/cobrands/borsetshire/js.js @@ -1,5 +1,9 @@ (function(){ + if (typeof jQuery === 'undefined') { + return; + } + function set_redirect(form) { var e = form.username.value; if (e == 'inspector@example.org') { |