From bc8a296223f3a2c6e07b126a78373aa5bb40399d Mon Sep 17 00:00:00 2001
From: retoor <retoor@molodetz.nl>
Date: Mon, 17 Feb 2025 19:36:57 +0100
Subject: [PATCH] Scroll infinite.

---
 src/snek/templates/web.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/snek/templates/web.html b/src/snek/templates/web.html
index e236f5c..ca03375 100644
--- a/src/snek/templates/web.html
+++ b/src/snek/templates/web.html
@@ -62,7 +62,7 @@
         let scrollTop = messagesContainer.scrollTop;
         let scrollableHeight = messagesContainer.scrollHeight - messagesContainer.clientHeight;
 
-        if (scrollTop < scrollableHeight / 4) {
+        if (scrollTop < scrollableHeight / 5) {
             return false;
         }
         return true;