Skip to content

Build your personal knowledge base with Trilium Notes

fix(tasks): not being able to mark tasks as done

Elian Doranc935cb65a040
diff --git a/src/public/app/widgets/type_widgets/task_list.ts b/src/public/app/widgets/type_widgets/task_list.ts
index 4344d1f393..cbe1c63278 100644
--- a/src/public/app/widgets/type_widgets/task_list.ts
+++ b/src/public/app/widgets/type_widgets/task_list.ts
@@ -162,7 +162,7 @@ export default class TaskListWidget extends TypeWidget {
}
});
- this.$taskContainer.on("change", "input", async (e) => {
+ this.$taskContainer.on("change", "input:not(.check)", async (e) => {
const $target = $(e.target);
const task = this.#getCorrespondingTask($target);
if (!task) {