summaryrefslogtreecommitdiff
path: root/app/views/projects/issues/_discussion.html.haml
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-11-24 18:35:24 -0500
committerRobert Speicher <rspeicher@gmail.com>2015-11-24 19:12:03 -0500
commit7dab8ed739359bc579d8bc4d3de61816993ca57d (patch)
tree9271059f8a674f36c9d49617e288087aba9c040b /app/views/projects/issues/_discussion.html.haml
parentacc0f162c864d2a061461467473fca8761b6611f (diff)
downloadgitlab-ce-7dab8ed739359bc579d8bc4d3de61816993ca57d.tar.gz
Rework the copy_to_clipboard logic
It needed to be more flexible in how we set the target text or element.
Diffstat (limited to 'app/views/projects/issues/_discussion.html.haml')
-rw-r--r--app/views/projects/issues/_discussion.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/issues/_discussion.html.haml b/app/views/projects/issues/_discussion.html.haml
index 020952dd001..8f0a1ed9be2 100644
--- a/app/views/projects/issues/_discussion.html.haml
+++ b/app/views/projects/issues/_discussion.html.haml
@@ -18,9 +18,9 @@
= link_to_member(@project, participant, name: false, size: 24)
.col-md-3
.input-group.cross-project-reference
- %span.slead.has_tooltip{title: 'Cross-project reference'}
+ %span#cross-project-reference.slead.has_tooltip{title: 'Cross-project reference'}
= cross_project_reference(@project, @issue)
- = clipboard_button
+ = clipboard_button(clipboard_target: '#cross-project-reference')
.row
%section.col-md-9