pixelfed/resources/assets/js/timeline.js

13 lines
382 B
JavaScript
Raw Normal View History

2018-05-20 03:12:42 +00:00
$(document).ready(function() {
$('.pagination').hide();
let elem = document.querySelector('.timeline-feed');
let infScroll = new InfiniteScroll( elem, {
path: '.pagination__next',
append: '.timeline-feed',
history: false,
});
2018-06-01 08:48:09 +00:00
$("#modal-post").addClass("modal fade");
$("#modal-dialog").addClass("modal-dialog");
$("#modal-text").removeClass("d-none");
});