pixelfed/resources/assets/js/timeline.js
Daniel Supernault 993f831867 Add timeline.js
2018-05-19 21:12:42 -06:00

9 lines
249 B
JavaScript
Vendored

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