summaryrefslogtreecommitdiff
path: root/Omni/Jr/Web
diff options
context:
space:
mode:
Diffstat (limited to 'Omni/Jr/Web')
-rw-r--r--Omni/Jr/Web/Components.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Omni/Jr/Web/Components.hs b/Omni/Jr/Web/Components.hs
index 4429f75..3a9df0f 100644
--- a/Omni/Jr/Web/Components.hs
+++ b/Omni/Jr/Web/Components.hs
@@ -1594,6 +1594,7 @@ timelineScrollScript =
]
( Text.unlines
[ "(function() {",
+ " if (typeof autoscrollEnabled !== 'undefined' && !autoscrollEnabled) return;",
" var log = document.querySelector('.timeline-events');",
" if (log) {",
" var isNearBottom = log.scrollHeight - log.scrollTop - log.clientHeight < 100;",