diff --git a/app/views/notes/_notes_with_form.html.haml b/app/views/notes/_notes_with_form.html.haml index 2566edd81ad..38d1a3c93c0 100644 --- a/app/views/notes/_notes_with_form.html.haml +++ b/app/views/notes/_notes_with_form.html.haml @@ -6,6 +6,4 @@ = render "notes/form" :javascript - $(function(){ - NoteList.init("#{@target_id}", "#{@target_type}", "#{project_notes_path(@project)}"); - }); + NoteList.init("#{@target_id}", "#{@target_type}", "#{project_notes_path(@project)}");