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

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

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

      # Init discussion on 'Discussion' page if it is merge request page
      if $('body').attr('data-page').indexOf('projects:merge_request') is 0
        $('ul.main-notes-list')
          .append(note.discussion_with_diff_html)
          .syntaxHighlight()
    else
      # append new note to all matching discussions
      discussionContainer.append note_html
