summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-08-28 09:45:26 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-08-28 09:45:26 +0900
commite2be59f56c99386d9c2a123cd031b2d94b588948 (patch)
treeead35d3295a1ad08574b5626ec0f30807d7a6336 /src/web
parentImplement #734 (diff)
downloadsharkey-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.tag6
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);