summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2017-12-12 15:36:06 +0000
committerClement Ho <clemmakesapps@gmail.com>2017-12-12 15:36:06 +0000
commitfb1de8ced3aa8c1ec4eed778c0ef3d9504cfb1ae (patch)
tree607eb8ae2594a4e95313f0b4cbbcd0f9c04fd1bf
parentd673628de003d1ce1402f03311066339828fb811 (diff)
downloadgitlab-ce-remove-unnecessary-js-issuable-edit.tar.gz
Remove unnecessary js-issuable-editremove-unnecessary-js-issuable-edit
-rw-r--r--app/views/projects/merge_requests/_mr_title.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/merge_requests/_mr_title.html.haml b/app/views/projects/merge_requests/_mr_title.html.haml
index 9df14265737..bc91758110e 100644
--- a/app/views/projects/merge_requests/_mr_title.html.haml
+++ b/app/views/projects/merge_requests/_mr_title.html.haml
@@ -27,7 +27,7 @@
.dropdown-menu.dropdown-menu-align-right.hidden-lg
%ul
- if can_update_merge_request
- %li= link_to 'Edit', edit_namespace_project_merge_request_path(@project.namespace, @project, @merge_request), class: 'js-issuable-edit'
+ %li= link_to 'Edit', edit_namespace_project_merge_request_path(@project.namespace, @project, @merge_request)
- unless current_user == @merge_request.author
%li= link_to 'Report abuse', new_abuse_report_path(user_id: @merge_request.author.id, ref_url: merge_request_url(@merge_request))
- if can_update_merge_request