mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-12 21:58:11 +09:00
[Client] Improve
This commit is contained in:
parent
43e189e3ac
commit
0eeffbf982
@ -1,6 +1,6 @@
|
||||
<mk-poll data-is-voted={ isVoted }>
|
||||
<ul>
|
||||
<li each={ poll.choices } onclick={ vote.bind(null, id) } class={ voted: voted }>
|
||||
<li each={ poll.choices } onclick={ vote.bind(null, id) } class={ voted: voted } title={ !parent.isVoted ? '「' + text + '」に投票する' : '' }>
|
||||
<div class="backdrop" if={ parent.result } style={ 'width:' + (votes / parent.total * 100) + '%' }></div>
|
||||
<span>
|
||||
<i class="fa fa-check" if={ is_voted }></i>
|
||||
|
Loading…
Reference in New Issue
Block a user