mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-08-28 02:54:08 +00:00
show results of poll
This commit is contained in:
@@ -1321,7 +1321,7 @@ class Message extends SnowFlake {
|
||||
question.textContent = this.poll.question.text;
|
||||
pollbody.append(question);
|
||||
let ccount = [...r.values()].reduce((e, l) => e + +l.me_voted, 0);
|
||||
if (this.poll.allow_multiselect) voted = !!ccount;
|
||||
voted = !!ccount;
|
||||
for (const a of this.poll.answers) {
|
||||
const aarea = document.createElement("div");
|
||||
aarea.classList.add("flexltr", "answerArea");
|
||||
|
||||
Reference in New Issue
Block a user