Skip to content

Commit

Permalink
Show voters on clicking votes count, not only vote button
Browse files Browse the repository at this point in the history
  • Loading branch information
danon committed Oct 18, 2024
1 parent 5d2023c commit 482e1d2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions resources/js/components/forum/post.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,11 @@
<div class="post-vote">
<strong
class="vote-count"
title="Ocena posta"
@click.once="loadVoters(post)"
:aria-label="voters"
data-balloon-pos="left"
data-balloon-break
>
{{ post.score }}
</strong>
v-text="post.score"/>
<a
v-if="!hidden"
:class="{'on': post.is_voted}"
Expand Down

0 comments on commit 482e1d2

Please sign in to comment.