diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-22 23:02:41 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-22 23:03:22 +0900 |
| commit | fceb0fa717c0b122b39afe88c12695ea8e3a4b52 (patch) | |
| tree | 8f7258ca53f2019fda2a4c797a325a396de20f80 /src/web | |
| parent | Merge pull request #195 from syuilo/greenkeeper/swagger-jsdoc-1.9.2 (diff) | |
| download | sharkey-fceb0fa717c0b122b39afe88c12695ea8e3a4b52.tar.gz sharkey-fceb0fa717c0b122b39afe88c12695ea8e3a4b52.tar.bz2 sharkey-fceb0fa717c0b122b39afe88c12695ea8e3a4b52.zip | |
[Clikinet] Fix bug
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/app/mobile/tags/home-timeline.tag | 2 | ||||
| -rw-r--r-- | src/web/app/mobile/tags/search-posts.tag | 2 | ||||
| -rw-r--r-- | 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 2cb051f32a..9a8ab9b743 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 b0efe14636..e430aeeec1 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 fb316dbdf9..12db98adb0 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 |