Permalink
Browse files

fixing a regressison bug

  • Loading branch information...
1 parent 765433e commit bdff45275275373652dd438b9c55515ee018580b @ashish01 committed May 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 knockout-todos.html
View
@@ -89,7 +89,7 @@
removeCompleted: function (event) {
var completed = viewModel.todos().filter(function (el) {
- return el.done() !== "";
+ return el.done() === true;
});
viewModel.todos.removeAll(completed);
}

0 comments on commit bdff452

Please sign in to comment.