This commit is contained in:
WhyKorp
2024-03-11 20:11:51 +01:00
committed by GitHub
parent 7c00d394af
commit f16081018d
+1 -1
View File
@@ -40,7 +40,7 @@
$taskName = $row["task_name"];
$completed = $row["completed"] ? "checked" : "";
echo "<li><input type='checkbox' $completed onchange='updateTask($taskId, this.checked)'> $taskName</li>";
echo "<li class='task' data-task-id='$taskId'><input type='checkbox' $completed> $taskName</li>";
}
} else {
echo "Aucune tâche trouvée.";