aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Siltberg <git@joesiltberg.se>2018-10-23 15:06:53 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-11-05 10:13:48 +0000
commit738f832405561690da3c2ad7b94b7c87c556dafc (patch)
tree775cefc9667a6a36a103e70747175980d5e4973f
parent10a9e1b8b70f1189b01f41ca57a02e255e13f081 (diff)
[FixaMinGata] Don't scroll report on load
-rw-r--r--templates/web/fixamingata/footer_extra_js.html3
-rw-r--r--web/cobrands/fixamingata/js.js1
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/web/fixamingata/footer_extra_js.html b/templates/web/fixamingata/footer_extra_js.html
new file mode 100644
index 000000000..966d51a74
--- /dev/null
+++ b/templates/web/fixamingata/footer_extra_js.html
@@ -0,0 +1,3 @@
+[% scripts.push(
+ version('/cobrands/fixamingata/js.js'),
+) %]
diff --git a/web/cobrands/fixamingata/js.js b/web/cobrands/fixamingata/js.js
new file mode 100644
index 000000000..ca5f772c4
--- /dev/null
+++ b/web/cobrands/fixamingata/js.js
@@ -0,0 +1 @@
+fixmystreet.inspect_form_no_scroll_on_load = 1;