diff --git a/tutorials/todo/src/controllers/TodoController.js b/tutorials/todo/src/controllers/TodoController.js index 77e509f0b7..f381052d0d 100644 --- a/tutorials/todo/src/controllers/TodoController.js +++ b/tutorials/todo/src/controllers/TodoController.js @@ -45,10 +45,10 @@ define(function () { showCompleted = completed; }; - + // Check if current visibility settings match - + $scope.checkVisibility = function (all, completed) { - + return showAll ? all : (completed === showCompleted); - + }; + // Check if current visibility settings match + $scope.checkVisibility = function (all, completed) { + return showAll ? all : (completed === showCompleted); + }; // Toggle the completion state of a task $scope.toggleCompletion = function (taskIndex) {