diff --git a/js/views/app-view.js b/js/views/app-view.js index 77f2194..cbf70af 100644 --- a/js/views/app-view.js +++ b/js/views/app-view.js @@ -122,9 +122,7 @@ var app = app || {}; var completed = this.allCheckbox.checked; app.todos.each(function (todo) { - todo.save({ - completed: completed - }); + todo.toggle(); }); } });