diff --git a/application/static/scripts.js b/application/static/scripts.js index 98d750b..3123dbd 100644 --- a/application/static/scripts.js +++ b/application/static/scripts.js @@ -580,7 +580,7 @@ function savePrintButtonListener(e) { let todo_list = [] for (let row of document.getElementsByClassName("task-row")) { - todos_list.push({"time": row.querySelector("#timeButtonDisplay").innerHTML, "task": row.querySelector("#task").innerHTML, "recurring": row.dataset.recurring}) + todo_list.push({"time": row.querySelector("#timeButtonDisplay").innerHTML, "task": row.querySelector("#task").innerHTML, "recurring": row.dataset.recurring}) } fetch("/api/todos/write", {