mirror of https://github.com/pixelfed/pixelfed
Add timeline.js
parent
6c9675a74d
commit
993f831867
@ -0,0 +1,9 @@
|
||||
$(document).ready(function() {
|
||||
$('.pagination').hide();
|
||||
let elem = document.querySelector('.timeline-feed');
|
||||
let infScroll = new InfiniteScroll( elem, {
|
||||
path: '.pagination__next',
|
||||
append: '.timeline-feed',
|
||||
history: false,
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue