From 7ba14cdeaea2bfa98d2776ab1f50d44d5623b0cd Mon Sep 17 00:00:00 2001
From: Janne Koschinski <janne@kuschku.de>
Date: Mon, 5 Mar 2018 18:20:58 +0100
Subject: [PATCH] Improved assets

---
 assets/js/script.js       | 2 +-
 index.html                | 2 +-
 privacy-policy/index.html | 2 +-
 releases/index.html       | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/assets/js/script.js b/assets/js/script.js
index 4696085..9a600cb 100644
--- a/assets/js/script.js
+++ b/assets/js/script.js
@@ -34,7 +34,7 @@ function onIntersection(entries) {
 const images = document.querySelectorAll('img[data-src]');
 const config = {
   // If the image gets within 50px in the Y axis, start the download.
-  rootMargin: '50px 0px',
+  rootMargin: '400px 0px',
   threshold: 0.01
 };
 
diff --git a/index.html b/index.html
index 98ac1ed..af26d83 100644
--- a/index.html
+++ b/index.html
@@ -139,7 +139,7 @@ function onIntersection(entries) {
 const images = document.querySelectorAll('img[data-src]');
 const config = {
   // If the image gets within 50px in the Y axis, start the download.
-  rootMargin: '50px 0px',
+  rootMargin: '400px 0px',
   threshold: 0.01
 };
 
diff --git a/privacy-policy/index.html b/privacy-policy/index.html
index d552aba..a74dbaa 100644
--- a/privacy-policy/index.html
+++ b/privacy-policy/index.html
@@ -135,7 +135,7 @@ function onIntersection(entries) {
 const images = document.querySelectorAll('img[data-src]');
 const config = {
   // If the image gets within 50px in the Y axis, start the download.
-  rootMargin: '50px 0px',
+  rootMargin: '400px 0px',
   threshold: 0.01
 };
 
diff --git a/releases/index.html b/releases/index.html
index 7af05d8..42e13fb 100644
--- a/releases/index.html
+++ b/releases/index.html
@@ -131,7 +131,7 @@ function onIntersection(entries) {
 const images = document.querySelectorAll('img[data-src]');
 const config = {
   // If the image gets within 50px in the Y axis, start the download.
-  rootMargin: '50px 0px',
+  rootMargin: '400px 0px',
   threshold: 0.01
 };
 
-- 
GitLab