diff options
| author | Danail Dimitrov <danaildimitrov321@gmail.com> | 2021-03-13 12:08:44 +0200 |
|---|---|---|
| committer | Danail Dimitrov <danaildimitrov321@gmail.com> | 2021-03-13 12:08:44 +0200 |
| commit | 341aafe72c96cad41bc5b8f1bdf665c4f2cd5319 (patch) | |
| tree | a2b5f384fc23ccc2db320ebf961c96e5393ce702 /src/app/components/post/post.component.html | |
| parent | 98d4f0e3a0fc8fd8d753617a2b681a18f8a60e2b (diff) | |
| download | DevHive-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.html | 4 |
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> |
