mirror of
https://codeberg.org/ashley/poke
synced 2025-04-05 17:17:59 +00:00
test this
This commit is contained in:
parent
312f717713
commit
c80793cb2e
@ -1266,6 +1266,14 @@ 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> <% } %>
|
||||
|
||||
<% } %>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user