mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +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() {
|
Vue.component(
|
||||||
$('.pagination').hide();
|
'activity-component',
|
||||||
let elem = document.querySelector('.notification-page .list-group');
|
require('./components/Activity.vue').default
|
||||||
let infScroll = new InfiniteScroll( elem, {
|
);
|
||||||
path: '.pagination__next',
|
|
||||||
append: '.notification-page .list-group',
|
|
||||||
status: '.page-load-status',
|
|
||||||
history: true,
|
|
||||||
});
|
|
||||||
});
|
|
Loading…
Reference in a new issue