aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/post/post.component.html
diff options
context:
space:
mode:
authorDanail Dimitrov <danaildimitrov321@gmail.com>2021-03-13 12:08:44 +0200
committerDanail Dimitrov <danaildimitrov321@gmail.com>2021-03-13 12:08:44 +0200
commit341aafe72c96cad41bc5b8f1bdf665c4f2cd5319 (patch)
treea2b5f384fc23ccc2db320ebf961c96e5393ce702 /src/app/components/post/post.component.html
parent98d4f0e3a0fc8fd8d753617a2b681a18f8a60e2b (diff)
downloadDevHive-Angular-341aafe72c96cad41bc5b8f1bdf665c4f2cd5319.tar
DevHive-Angular-341aafe72c96cad41bc5b8f1bdf665c4f2cd5319.tar.gz
DevHive-Angular-341aafe72c96cad41bc5b8f1bdf665c4f2cd5319.zip
improved rating system
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>