Update Timeline.vue

This commit is contained in:
Daniel Supernault 2019-04-29 20:59:12 -06:00
parent d543087bc6
commit 6d256f5b2b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -397,7 +397,9 @@
.then(res => { .then(res => {
this.config = res.data; this.config = res.data;
this.fetchTimelineApi(); this.fetchTimelineApi();
this.fetchProfile(); if(window.outerWidth > 767) {
this.fetchProfile();
}
}); });
}, },
@ -459,7 +461,9 @@
this.max_id = Math.min(...ids); this.max_id = Math.min(...ids);
$('.timeline .pagination').removeClass('d-none'); $('.timeline .pagination').removeClass('d-none');
this.loading = false; this.loading = false;
this.expRec(); if(window.outerWidth > 767) {
this.expRec();
}
}).catch(err => { }).catch(err => {
}); });
}, },