mirror of https://github.com/pixelfed/pixelfed.git
Update Timeline.vue
This commit is contained in:
parent
d543087bc6
commit
6d256f5b2b
|
@ -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 => {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue