FIX: Poll voters list wasn't expanding properly (#28823)

This commit is contained in:
Penar Musaraj
2024-09-10 11:46:12 -04:00
committed by GitHub
parent 9b0300a647
commit 1a88728d39
2 changed files with 3 additions and 1 deletions

View File

@ -479,7 +479,8 @@ export default class PollComponent extends Component {
this.preloadedVoters = Object.assign(preloadedVoters);
votersCount = this.options.find((option) => option.id === optionId).votes;
votersCount = this.options.find((option) => option.id === optionId).voters
.length;
return ajax("/polls/voters.json", {
data: {

View File

@ -336,6 +336,7 @@ div.poll-outer {
}
.poll-voters-toggle-expand {
margin-top: 0.25em;
width: 100%;
text-align: center;