From a7ee9a8e52313f3559dddfbab3e0328f7cc6f861 Mon Sep 17 00:00:00 2001 From: Andrew Hall Date: Mon, 18 Jun 2018 15:45:11 +0100 Subject: [PATCH] Fix typo --- src/js/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/index.js b/src/js/index.js index 8b0bfd19..00447c9e 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -329,9 +329,9 @@ $(function () { }); function changeTasksStat() { - const numberOfComplited = $tasksContainer.children('.checked').length; + const numberOfCompleted = $tasksContainer.children('.checked').length; - $tasksStat.innerHTML = `${numberOfComplited} of 11 complited`; + $tasksStat.innerHTML = `${numberOfCompleted} of 11 completed`; } } @@ -436,4 +436,4 @@ function getMainChartData() { } return [d1, d2, d3]; -} \ No newline at end of file +}