Commit e8c21d6e authored by Jonathas Amaral's avatar Jonathas Amaral

Bug fix in angular example, when editbox losts focus (blur event). Ref #1083

parent 75fced04
......@@ -74,6 +74,7 @@ angular.module('todomvc')
todo.title = todo.title.trim();
if (todo.title === $scope.originalTodo.title) {
$scope.editedTodo = null;
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment