diff options
-rw-r--r-- | app/views/shared/notes/_notes_with_form.html.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/shared/notes/_notes_with_form.html.haml b/app/views/shared/notes/_notes_with_form.html.haml index 0840019a6c8..785b1b22a49 100644 --- a/app/views/shared/notes/_notes_with_form.html.haml +++ b/app/views/shared/notes/_notes_with_form.html.haml @@ -23,5 +23,4 @@ to post a comment :javascript - var enableGfmAutoComplete = "#{autocomplete}" === "true"; - var notes = new Notes("#{notes_url}", #{@notes.map(&:id).to_json}, #{Time.now.to_i}, "#{diff_view}", enableGfmAutoComplete) + var notes = new Notes("#{notes_url}", #{@notes.map(&:id).to_json}, #{Time.now.to_i}, "#{diff_view}", #{autocomplete}) |