fixed cleardone animation
This commit is contained in:
parent
e0088dc1e3
commit
d68d2f8c97
1 changed files with 0 additions and 3 deletions
|
|
@ -1341,7 +1341,6 @@ function clearAllDoneTasks() {
|
||||||
tasks[user].todos = tasks[user].todos.filter((t) => !t.done);
|
tasks[user].todos = tasks[user].todos.filter((t) => !t.done);
|
||||||
}
|
}
|
||||||
cancelAnimation();
|
cancelAnimation();
|
||||||
checkToAnimate();
|
|
||||||
localStorage.setItem(`tasks`, JSON.stringify(tasks));
|
localStorage.setItem(`tasks`, JSON.stringify(tasks));
|
||||||
renderTaskListToDOM();
|
renderTaskListToDOM();
|
||||||
|
|
||||||
|
|
@ -1353,7 +1352,6 @@ function clearAllDoneTasks() {
|
||||||
function clearAllTasks() {
|
function clearAllTasks() {
|
||||||
localStorage.setItem(`tasks`, "{}");
|
localStorage.setItem(`tasks`, "{}");
|
||||||
cancelAnimation();
|
cancelAnimation();
|
||||||
checkToAnimate();
|
|
||||||
renderTaskListToDOM();
|
renderTaskListToDOM();
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
@ -1387,7 +1385,6 @@ function clearAllExceptStreamer(streamer) {
|
||||||
clearAllDoneTasks();
|
clearAllDoneTasks();
|
||||||
|
|
||||||
cancelAnimation();
|
cancelAnimation();
|
||||||
checkToAnimate();
|
|
||||||
|
|
||||||
renderTaskListToDOM();
|
renderTaskListToDOM();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue