From 6473aaf8777f15c0bf247f509fab5e3f978af1c7 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 2 May 2013 11:23:58 +0300 Subject: Remove on-ready for NoteList event --- app/views/notes/_notes_with_form.html.haml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)}"); -- cgit v1.2.1