« get me outta code hell

Merge pull request #119 from hsmusic/lazier-loading - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-01-15 20:28:00 -0400
committerGitHub <noreply@github.com>2023-01-15 20:28:00 -0400
commit88d1a8adde1aadd5abfe80ea0b55bf359160460b (patch)
tree00646967e7324605acd8ff3c2a54623dc2799897 /src/static
parent2803b20313cc4c3aa008bdbcd3abd407405ce91f (diff)
parent154470c2a71eea2b68f1c029bc6db0230217680d (diff)
Merge pull request #119 from hsmusic/lazier-loading
Fix threshold requirement for lazy loading
Diffstat (limited to 'src/static')
-rw-r--r--src/static/lazy-loading.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/lazy-loading.js b/src/static/lazy-loading.js
index b04ad7c2..1df56f08 100644
--- a/src/static/lazy-loading.js
+++ b/src/static/lazy-loading.js
@@ -37,7 +37,7 @@ function lazyLoadMain() {
   if (window.IntersectionObserver) {
     observer = new IntersectionObserver(lazyLoad, {
       rootMargin: '200px',
-      threshold: 1.0,
+      threshold: 0,
     });
     for (i = 0; i < lazyElements.length; i++) {
       observer.observe(lazyElements[i]);