code: function todoKeyPressed(todo, event) {
      if (event.keyCode === ENTER_KEY) {
        var inputEditTodo = document.getElementById('input_' + todo._id);
        inputEditTodo.blur();
      }
    }
docs: If they press enter while editing an entry, blur it to trigger save (or delete)