Add timeline.js

This commit is contained in:
Daniel Supernault 2018-05-19 21:12:42 -06:00
parent 6c9675a74d
commit 993f831867

9
resources/assets/js/timeline.js vendored Normal file
View file

@ -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,
});
});