From 959f915c9e545a7fe8cafce9916eea377181201e Mon Sep 17 00:00:00 2001 From: schneefux Date: Tue, 8 Nov 2016 11:27:37 +0100 Subject: use webp for images, load icons offline --- themes/flog/layouts/partials/footer.html | 5 ----- themes/flog/layouts/partials/header.html | 2 +- themes/flog/layouts/partials/listing.html | 20 +++++++++++--------- 3 files changed, 12 insertions(+), 15 deletions(-) (limited to 'themes/flog/layouts/partials') diff --git a/themes/flog/layouts/partials/footer.html b/themes/flog/layouts/partials/footer.html index fc0f949..5ffadd4 100644 --- a/themes/flog/layouts/partials/footer.html +++ b/themes/flog/layouts/partials/footer.html @@ -49,11 +49,6 @@ } }); }); - $('body').imagesLoaded({ background: true }, function() { - $('').load(function() { - $('body').css('background-image', 'url(' + this.src + ')'); - }); - }); diff --git a/themes/flog/layouts/partials/header.html b/themes/flog/layouts/partials/header.html index fdef850..8d9c1e6 100644 --- a/themes/flog/layouts/partials/header.html +++ b/themes/flog/layouts/partials/header.html @@ -16,7 +16,7 @@