summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorsyuilo⭐️ <Syuilotan@yahoo.co.jp>2017-03-13 06:04:15 +0900
committerGitHub <noreply@github.com>2017-03-13 06:04:15 +0900
commit84c4c1d9f605597ed08925710067cd637a845711 (patch)
treeb130c330f6213d1cd91c6068693ef831c6ba4513 /src/web
parent[Client:Mobile] ファイルのフォルダ移動を実装 (diff)
downloadmisskey-84c4c1d9f605597ed08925710067cd637a845711.tar.gz
misskey-84c4c1d9f605597ed08925710067cd637a845711.tar.bz2
misskey-84c4c1d9f605597ed08925710067cd637a845711.zip
Fix bug
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/mobile/tags/post-detail.tag8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/web/app/mobile/tags/post-detail.tag b/src/web/app/mobile/tags/post-detail.tag
index 0fd63e8328..44662a9e5c 100644
--- a/src/web/app/mobile/tags/post-detail.tag
+++ b/src/web/app/mobile/tags/post-detail.tag
@@ -4,8 +4,8 @@
</div>
<div class="main" if={ !fetching }>
<button class="read-more" if={ p.reply_to && p.reply_to.reply_to_id && context == null } onclick={ loadContext } disabled={ loadingContext }>
- <i class="fa fa-ellipsis-v" if={ !loadingContext }></i>
- <i class="fa fa-spinner fa-pulse" if={ loadingContext }></i>
+ <i class="fa fa-ellipsis-v" if={ !contextFetching }></i>
+ <i class="fa fa-spinner fa-pulse" if={ contextFetching }></i>
</button>
<div class="context">
<virtual each={ post in context }>
@@ -441,14 +441,14 @@
};
this.loadContext = () => {
- this.loadingContext = true;
+ this.contextFetching = true;
// Fetch context
this.api('posts/context', {
post_id: this.p.reply_to_id
}).then(context => {
this.update({
- loadContext: false,
+ contextFetching: false,
context: context.reverse()
});
});