mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 00:34:41 -05:00
test this
This commit is contained in:
parent
312f717713
commit
c80793cb2e
1 changed files with 9 additions and 1 deletions
|
@ -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> <% } %>
|
||||
|
||||
<% } %>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue