From fceb0fa717c0b122b39afe88c12695ea8e3a4b52 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 22 Feb 2017 23:02:41 +0900 Subject: [PATCH] [Clikinet] Fix bug --- src/web/app/mobile/tags/home-timeline.tag | 2 +- src/web/app/mobile/tags/search-posts.tag | 2 +- src/web/app/mobile/tags/user-timeline.tag | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/web/app/mobile/tags/home-timeline.tag b/src/web/app/mobile/tags/home-timeline.tag index 2cb051f32..9a8ab9b74 100644 --- a/src/web/app/mobile/tags/home-timeline.tag +++ b/src/web/app/mobile/tags/home-timeline.tag @@ -28,7 +28,7 @@ }); this.more = () => { - this.api('posts/timeline', { + return this.api('posts/timeline', { max_id: this.refs.timeline.tail().id }); }; diff --git a/src/web/app/mobile/tags/search-posts.tag b/src/web/app/mobile/tags/search-posts.tag index b0efe1463..e430aeeec 100644 --- a/src/web/app/mobile/tags/search-posts.tag +++ b/src/web/app/mobile/tags/search-posts.tag @@ -26,7 +26,7 @@ this.more = () => { this.offset += this.max; - this.api('posts/search', { + return this.api('posts/search', { query: this.query, max: this.max, offset: this.offset diff --git a/src/web/app/mobile/tags/user-timeline.tag b/src/web/app/mobile/tags/user-timeline.tag index fb316dbdf..12db98adb 100644 --- a/src/web/app/mobile/tags/user-timeline.tag +++ b/src/web/app/mobile/tags/user-timeline.tag @@ -25,7 +25,7 @@ }); this.more = () => { - this.api('users/posts', { + return this.api('users/posts', { user_id: this.user.id, with_media: this.withMedia, max_id: this.refs.timeline.tail().id