diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-03-20 05:54:41 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-03-20 05:54:41 +0900 |
| commit | f48dc504ec474ecefcce0b7187a6aba3e353cff3 (patch) | |
| tree | ebf0fb4037ed08cfc7195d3ff072683570312669 /src | |
| parent | [Client] 良い感じに (diff) | |
| download | sharkey-f48dc504ec474ecefcce0b7187a6aba3e353cff3.tar.gz sharkey-f48dc504ec474ecefcce0b7187a6aba3e353cff3.tar.bz2 sharkey-f48dc504ec474ecefcce0b7187a6aba3e353cff3.zip | |
[Client] Fix bug
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/app/common/tags/reactions-viewer.tag | 4 |
1 files changed, 4 insertions, 0 deletions
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; }); |