diff --git a/CHANGELOG.md b/CHANGELOG.md index e11a967c..0298b84c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,8 @@ * Fix #503: set custom emojis max height to text height + bigger when posted alone * Fix: Converse bottom panel messages not visible on new Peertube v7 theme (for example for muted users) * Fix #75: New short video urls makes it difficult to use the settings «Activate chat for these videos». -* Fix: moderation notes: fix filter button wrongly displayed on notes without associated occupant. +* Fix moderation notes: fix filter button wrongly displayed on notes without associated occupant. +* Fix tasks: checkbox state does not change when clicked. ## 12.0.4 diff --git a/conversejs/custom/plugins/tasks/templates/muc-task.js b/conversejs/custom/plugins/tasks/templates/muc-task.js index 7c8d02da..0bbcf34b 100644 --- a/conversejs/custom/plugins/tasks/templates/muc-task.js +++ b/conversejs/custom/plugins/tasks/templates/muc-task.js @@ -23,8 +23,7 @@ export function tplMucTask (el, task) { type="checkbox" class="form-check-input" .checked=${done === true} - @click=${(ev) => { - ev?.preventDefault() + @click=${(_ev) => { task.set('done', !done) task.saveItem() }}