1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 00:34:41 -05:00

test this

This commit is contained in:
Ashley //// 2024-04-27 18:47:23 +00:00
parent 312f717713
commit c80793cb2e

View file

@ -1266,7 +1266,15 @@ width: fit-content;
<div class="pagination-buttons" style="border-top: none;justify-content: center">
<a style="color:#fff" href="/channel?id=<%=ID%>&continuation=<%=tj.continuation%>">Next Page</a>
</div>
<% if (!isMobile) { %>
<script> window.addEventListener('scroll', function() {
if ((window.innerHeight + window.scrollY) >= document.body.offsetHeight) {
window.location.href = window.location.href + '&continuation=<%=tj.continuation%>';
}
});
</script> <% } %>
<% } %>