aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/common_scripts.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-05-23 11:38:25 +0100
committerMatthew Somerville <matthew@mysociety.org>2020-06-15 11:53:11 +0100
commit9553c8daac73f06af704a87ace7294f751a77b8f (patch)
treee75d32ef7a1f20230339f5a756f6bacb399d0d87 /templates/web/base/common_scripts.html
parent56d6d1524b4559ca407bcaf33f47a12960e83576 (diff)
Add lazy image loading on list items.
Diffstat (limited to 'templates/web/base/common_scripts.html')
-rw-r--r--templates/web/base/common_scripts.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/web/base/common_scripts.html b/templates/web/base/common_scripts.html
index b8c4db343..32ec9b00f 100644
--- a/templates/web/base/common_scripts.html
+++ b/templates/web/base/common_scripts.html
@@ -13,6 +13,7 @@ IF bodyclass.match('frontpage');
scripts.push(
version('/js/front.js'),
version('/js/geolocation.js'),
+ version('/js/loading-attribute-polyfill.js'),
);
ELSIF bodyclass.match('alertpage');
scripts.push(
@@ -64,6 +65,7 @@ IF bodyclass.match('mappage');
version('/cobrands/fixmystreet/map.js'),
version('/vendor/dropzone.min.js'),
version('/vendor/fancybox/jquery.fancybox-1.3.4.pack.js'),
+ version('/js/loading-attribute-polyfill.js'),
);
ELSE;
scripts.push(