Commit 813c9b2a authored by Robert Speicher's avatar Robert Speicher

Make cross-project reference's clipboard target less naive

See !2023
parent 02cc978e
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
.input-group.cross-project-reference .input-group.cross-project-reference
%span#cross-project-reference.slead.has_tooltip{title: 'Cross-project reference'} %span#cross-project-reference.slead.has_tooltip{title: 'Cross-project reference'}
= cross_project_reference(@project, @issue) = cross_project_reference(@project, @issue)
= clipboard_button(clipboard_target: '#cross-project-reference') = clipboard_button(clipboard_target: 'span#cross-project-reference')
.row .row
%section.col-md-9 %section.col-md-9
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
.input-group.cross-project-reference .input-group.cross-project-reference
%span#cross-project-reference.slead.has_tooltip{title: 'Cross-project reference'} %span#cross-project-reference.slead.has_tooltip{title: 'Cross-project reference'}
= cross_project_reference(@project, @merge_request) = cross_project_reference(@project, @merge_request)
= clipboard_button(clipboard_target: '#cross-project-reference') = clipboard_button(clipboard_target: 'span#cross-project-reference')
.row .row
%section.col-md-9 %section.col-md-9
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment