   ###
   removeNote: (e) =>
     noteId = $(e.currentTarget)
-             .closest(".note")
-             .attr("id")
+               .closest(".note")
+               .attr("id")
 
     # A same note appears in the "Discussion" and in the "Changes" tab, we have
     # to remove all. Using $(".note[id='noteId']") ensure we get all the notes,

      @note_ids.push(note.id)

      $('ul.main-notes-list')
      .append(note.html)
      .syntaxHighlight()
      @initTaskList()
      @updateNotesCount(1)


  updateTaskList: ->
    $('form', this).submit()

  updateNotesCount: (updateCount) ->
    @notesCountBadge.text(parseInt(@notesCountBadge.text()) + updateCount)
