Poll WIP (#231):

* frontend improvement
This commit is contained in:
John Livingston
2024-07-04 17:49:28 +02:00
parent 6f7c5c50f7
commit 0983c8ed57
3 changed files with 14 additions and 2 deletions

View File

@ -33,7 +33,8 @@ export default class MUCPollView extends CustomElement {
return tplPoll(this, currentPoll)
}
toggle () {
toggle (ev) {
ev.preventDefault()
this.collapsed = !this.collapsed
}