examples/todos/public/scripts/app.js
function todoDblClicked(todo) {
    var div = document.getElementById('li_' + todo._id);
    var inputEditTodo = document.getElementById('input_' + todo._id);
    div.className = 'editing';
    inputEditTodo.focus();
  }
function todoDblClicked(todo) {
    var div = document.getElementById('li_' + todo._id);
    var inputEditTodo = document.getElementById('input_' + todo._id);
    div.className = 'editing';
    inputEditTodo.focus();
  }
function todoDblClicked ( todo ) { var div = document . getElementById ( 'li_' + todo . _id ) ; var inputEditTodo = document . getElementById ( 'input_' + todo . _id ) ; div . className = 'editing' ; inputEditTodo . focus ( ) ; }
User has double clicked a todo, display an input so they can edit the title
User has double clicked a todo display an input so they can edit the title