From e2be59f56c99386d9c2a123cd031b2d94b588948 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 28 Aug 2017 09:45:26 +0900 Subject: [Client] Fix #736 --- src/web/app/mobile/tags/home-timeline.tag | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/web/app/mobile/tags/home-timeline.tag b/src/web/app/mobile/tags/home-timeline.tag index 5d5399f322..7357d13916 100644 --- a/src/web/app/mobile/tags/home-timeline.tag +++ b/src/web/app/mobile/tags/home-timeline.tag @@ -23,6 +23,12 @@ }); }); + this.fetch = () => { + this.api('posts/timeline').then(posts => { + this.refs.timeline.setPosts(posts); + }); + }; + this.on('mount', () => { this.stream.on('post', this.onStreamPost); this.stream.on('follow', this.onStreamFollow); -- cgit v1.2.3-freya