mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update activity.js
This commit is contained in:
parent
698d3a48c3
commit
08a96d4726
1 changed files with 4 additions and 10 deletions
14
resources/assets/js/activity.js
vendored
14
resources/assets/js/activity.js
vendored
|
@ -1,10 +1,4 @@
|
|||
$(document).ready(function() {
|
||||
$('.pagination').hide();
|
||||
let elem = document.querySelector('.notification-page .list-group');
|
||||
let infScroll = new InfiniteScroll( elem, {
|
||||
path: '.pagination__next',
|
||||
append: '.notification-page .list-group',
|
||||
status: '.page-load-status',
|
||||
history: true,
|
||||
});
|
||||
});
|
||||
Vue.component(
|
||||
'activity-component',
|
||||
require('./components/Activity.vue').default
|
||||
);
|
Loading…
Reference in a new issue