aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/post/post.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/components/post/post.component.html')
-rw-r--r--src/app/components/post/post.component.html4
1 files changed, 2 insertions, 2 deletions
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>