summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web/app/common/tags/reactions-viewer.tag4
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;
});