Website Summary Files Commits Branches @commit @diff @stats
path: root / src / app / components / post / post.component.html
diff options
context:
space:
mode:
1 files changed, 2 insertions, 2 deletions
-rw-r--r--src/app/components/post/post.component.html4
diff --git a/src/app/components/post/post.component.html b/src/app/components/post/post.component.html
index 830fa75..1603ebf 100644
--- a/src/app/components/post/post.component.html
+++ b/src/app/components/post/post.component.html
@@ -30,13 +30,13 @@
</div>
</section>
<section class="rating">
- <button class="vote" (click)="upVotePost()">
+ <button class="vote" (click)="votePost(true)">
ᐃ
</button>
<summary class="score">
{{ votesNumber }}
</summary>
- <button class="vote" (click)="downVotePost()">
+ <button class="vote" (click)="votePost(false)">
ᐁ
</button>
</section>