This commit is contained in:
cutls 2019-11-08 22:53:52 +09:00
parent f35232cc52
commit b8fcd11a62

View File

@ -263,7 +263,6 @@ function voterefresh(acct_id, id) {
} else { } else {
var myvote = '' var myvote = ''
} }
//WIP here
poll = poll + `<div class="pointer vote" onclick="vote('${acct_id}','${json.id}',"${choice.id}')">${escapeHTML(choice.text)}(${choice.votes})${myvote})</div>` poll = poll + `<div class="pointer vote" onclick="vote('${acct_id}','${json.id}',"${choice.id}')">${escapeHTML(choice.text)}(${choice.votes})${myvote})</div>`
}) })
$('.vote_' + json.id).html(poll) $('.vote_' + json.id).html(poll)