diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-08-28 09:45:26 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-08-28 09:45:26 +0900 |
| commit | e2be59f56c99386d9c2a123cd031b2d94b588948 (patch) | |
| tree | ead35d3295a1ad08574b5626ec0f30807d7a6336 /src/web | |
| parent | Implement #734 (diff) | |
| download | sharkey-e2be59f56c99386d9c2a123cd031b2d94b588948.tar.gz sharkey-e2be59f56c99386d9c2a123cd031b2d94b588948.tar.bz2 sharkey-e2be59f56c99386d9c2a123cd031b2d94b588948.zip | |
[Client] Fix #736
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/app/mobile/tags/home-timeline.tag | 6 |
1 files changed, 6 insertions, 0 deletions
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); |