From 08a96d47262367bf43e770997f553d932d7a8fb6 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 27 May 2019 13:54:45 -0600 Subject: [PATCH] Update activity.js --- resources/assets/js/activity.js | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/resources/assets/js/activity.js b/resources/assets/js/activity.js index b1b72d1b8..0023a2ab2 100644 --- a/resources/assets/js/activity.js +++ b/resources/assets/js/activity.js @@ -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 +); \ No newline at end of file