diff --git a/resources/assets/js/components/Timeline.vue b/resources/assets/js/components/Timeline.vue index 34112e1e..0d53b0b5 100644 --- a/resources/assets/js/components/Timeline.vue +++ b/resources/assets/js/components/Timeline.vue @@ -397,7 +397,9 @@ .then(res => { this.config = res.data; this.fetchTimelineApi(); - this.fetchProfile(); + if(window.outerWidth > 767) { + this.fetchProfile(); + } }); }, @@ -459,7 +461,9 @@ this.max_id = Math.min(...ids); $('.timeline .pagination').removeClass('d-none'); this.loading = false; - this.expRec(); + if(window.outerWidth > 767) { + this.expRec(); + } }).catch(err => { }); },