diff options
author | Rémy Coutable <remy@rymai.me> | 2016-01-20 22:39:32 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-01-20 22:39:32 +0100 |
commit | 12da27090f0a8ff4b05023a5216738413dcbe110 (patch) | |
tree | 913290a31b807c375c8a9130920c3ffdbde27af7 /app/views/projects/notes/discussions/_commit.html.haml | |
parent | 491c2248c05ee9e93eff34f0126802add0e05565 (diff) | |
download | gitlab-ce-12da27090f0a8ff4b05023a5216738413dcbe110.tar.gz |
Address some JS coding-style and HTML semantic issues
- Replace 'rel' attributes with 'data' or 'id' attributes
- Style jQuery methods chaining according to Jacob's guidelines
- Rename a method
Diffstat (limited to 'app/views/projects/notes/discussions/_commit.html.haml')
-rw-r--r-- | app/views/projects/notes/discussions/_commit.html.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/notes/discussions/_commit.html.haml b/app/views/projects/notes/discussions/_commit.html.haml index 6903fad4a0a..3da2f2060b8 100644 --- a/app/views/projects/notes/discussions/_commit.html.haml +++ b/app/views/projects/notes/discussions/_commit.html.haml @@ -20,8 +20,7 @@ = render "projects/notes/discussions/diff", discussion_notes: discussion_notes, note: note - else .panel.panel-default - .notes{ rel: discussion_notes.first.discussion_id } + .notes{ data: { discussion_id: discussion_notes.first.discussion_id } } = render discussion_notes .discussion-reply-holder = link_to_reply_diff(discussion_notes.first) - |