summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-03-20 05:54:41 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-03-20 05:54:41 +0900
commitf48dc504ec474ecefcce0b7187a6aba3e353cff3 (patch)
treeebf0fb4037ed08cfc7195d3ff072683570312669
parent[Client] 良い感じに (diff)
downloadsharkey-f48dc504ec474ecefcce0b7187a6aba3e353cff3.tar.gz
sharkey-f48dc504ec474ecefcce0b7187a6aba3e353cff3.tar.bz2
sharkey-f48dc504ec474ecefcce0b7187a6aba3e353cff3.zip
[Client] Fix bug
-rw-r--r--package.json2
-rw-r--r--src/web/app/common/tags/reactions-viewer.tag4
2 files changed, 5 insertions, 1 deletions
diff --git a/package.json b/package.json
index ac386ad459..95a58740b2 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "misskey",
"author": "syuilo <i@syuilo.com>",
- "version": "0.0.1388",
+ "version": "0.0.1340",
"license": "MIT",
"description": "A miniblog-based SNS",
"bugs": "https://github.com/syuilo/misskey/issues",
diff --git a/src/web/app/common/tags/reactions-viewer.tag b/src/web/app/common/tags/reactions-viewer.tag
index f32f5466a3..a7ace56ce1 100644
--- a/src/web/app/common/tags/reactions-viewer.tag
+++ b/src/web/app/common/tags/reactions-viewer.tag
@@ -26,6 +26,10 @@
<script>
this.post = this.opts.post;
+ this.on('mount', () => {
+ this.update();
+ });
+
this.on('update', () => {
this.reactions = this.post.reaction_counts;
});