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 12, 2024
1 parent 155731f commit b4166ca
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion resources/js/components/forum/post.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,15 @@
<div v-show="!post.is_editing" class="col-12 col-lg-10">
<vue-flag v-for="flag in flags" :key="flag.id" :flag="flag"/>
<div class="post-vote">
<strong class="vote-count" title="Ocena posta">{{ post.score }}</strong>
<strong
class="vote-count"
title="Ocena posta"
:aria-label="voters"
data-balloon-pos="left"
data-balloon-break
>
{{ post.score }}
</strong>
<a
v-if="!hidden"
:class="{'on': post.is_voted}"
Expand Down

0 comments on commit b4166ca

Please sign in to comment.