diff --git a/assets/js/script.js b/assets/js/script.js index cd3d732a8ca9ca3e92bae7399cef78a88111c969..cfd5a62bd1187a648f68a75a8b592947a75322bd 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -35,7 +35,7 @@ document.addEventListener("DOMContentLoaded", () => { const images = document.querySelectorAll('img[data-src]'); const config = { // If the image gets within 50px in the Y axis, start the download. - rootMargin: '150px 0px', + rootMargin: '400px 0px', threshold: 0.01 }; diff --git a/index.html b/index.html index 1d479458371364377f108e69dae7da818c6be26b..00518f01106545be41b0f924034faed167b62b6c 100644 --- a/index.html +++ b/index.html @@ -140,7 +140,7 @@ or just look fancy.</p></div><div class="nine wide column"><div class="ui one do const images = document.querySelectorAll('img[data-src]'); const config = { // If the image gets within 50px in the Y axis, start the download. - rootMargin: '150px 0px', + rootMargin: '400px 0px', threshold: 0.01 }; diff --git a/privacy-policy/index.html b/privacy-policy/index.html index 48dc801e684405f703ee48b146857a5835536c81..56dc47a3c9155ddcfc178501c264f0c8ee9fee74 100644 --- a/privacy-policy/index.html +++ b/privacy-policy/index.html @@ -136,7 +136,7 @@ server, and cannot be policed by us. const images = document.querySelectorAll('img[data-src]'); const config = { // If the image gets within 50px in the Y axis, start the download. - rootMargin: '150px 0px', + rootMargin: '400px 0px', threshold: 0.01 }; diff --git a/releases/index.html b/releases/index.html index 76e00644b66d9246dd99cd17f720f470d7e27841..4be1d7f2499b134f54cf00978018a58aebe6bee1 100644 --- a/releases/index.html +++ b/releases/index.html @@ -132,7 +132,7 @@ Alpha versions are available <a href="https://s3.kuschku.de/minio/releases/quass const images = document.querySelectorAll('img[data-src]'); const config = { // If the image gets within 50px in the Y axis, start the download. - rootMargin: '150px 0px', + rootMargin: '400px 0px', threshold: 0.01 };