diff options
| author | Jake Mannens <jake@asger.xyz> | 2026-03-28 05:42:30 +1100 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2026-03-28 05:42:30 +1100 |
| commit | 4a2491b24b58027a693b1a69f3b94bb23fb96f20 (patch) | |
| tree | 24296aa20e705abe3d76ec0149400de5ab234e4d /Pages/Gallery.razor | |
| parent | 6c06dfc4f83f30292e65c08a3cb0c48401d4bfa7 (diff) | |
v0.3av0.3a
Diffstat (limited to 'Pages/Gallery.razor')
| -rw-r--r-- | Pages/Gallery.razor | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Pages/Gallery.razor b/Pages/Gallery.razor index c037979..704b73d 100644 --- a/Pages/Gallery.razor +++ b/Pages/Gallery.razor @@ -29,9 +29,8 @@ <img src="/media/thumb/@(media.Guid)?h=200" width=@width height="200"/> </a> } + <div id="canary" style="height:1px;"></div> </div> - - <div id="canary"/> } <script suppress-error="BL9992"> @@ -42,7 +41,10 @@ await dotNetObject.invokeMethodAsync('LoadMedia', false); } }, - { threshold: [1] }); + { + root: document.getElementById('content'), + threshold: 0 + }); scrollObserver.observe(document.getElementById("canary")); } </script> |
