Commit e616739e authored by Robert Speicher's avatar Robert Speicher

Merge branch 'rs-clipboard-selector' into 'master'

Make cross-project reference's clipboard target less naive

See !2023

See merge request !2024
parents d1ee3b7b 813c9b2a
......@@ -17,7 +17,7 @@
.input-group.cross-project-reference
%span#cross-project-reference.slead.has_tooltip{title: 'Cross-project reference'}
= cross_project_reference(@project, @issue)
= clipboard_button(clipboard_target: '#cross-project-reference')
= clipboard_button(clipboard_target: 'span#cross-project-reference')
.row
%section.col-md-9
......
......@@ -17,7 +17,7 @@
.input-group.cross-project-reference
%span#cross-project-reference.slead.has_tooltip{title: 'Cross-project reference'}
= cross_project_reference(@project, @merge_request)
= clipboard_button(clipboard_target: '#cross-project-reference')
= clipboard_button(clipboard_target: 'span#cross-project-reference')
.row
%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