pixelfed/resources/assets/js/timeline.js

9 lines
249 B
JavaScript

$(document).ready(function() {
$('.pagination').hide();
let elem = document.querySelector('.timeline-feed');
let infScroll = new InfiniteScroll( elem, {
path: '.pagination__next',
append: '.timeline-feed',
history: false,
});
});