aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/borsetshire/js.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-12-13 13:34:49 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-12-13 13:34:49 +0000
commitc6dd57095435257b1a37e424c4170d37a1c82a37 (patch)
tree77adf034ba64559317f9617801a11fe94eef562c /web/cobrands/borsetshire/js.js
parente4d48666edffceea3dcab032221d6211090803ca (diff)
parentec8ad12f3b1103b22cc2e7694387daa7294f1ed7 (diff)
Merge branch 'jquery-needed-some-places-it-is-not'
Diffstat (limited to 'web/cobrands/borsetshire/js.js')
-rw-r--r--web/cobrands/borsetshire/js.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/cobrands/borsetshire/js.js b/web/cobrands/borsetshire/js.js
index 6799ff5e3..2888a9548 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') {