diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-12-15 16:11:01 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-12-15 16:11:01 -0500 |
commit | f49ac5c8d3c3fbe9a75a31ace0cf7a0ed698ded2 (patch) | |
tree | 1cd578006639861a0596c6025681f0dcbe70cfe7 /app/helpers/button_helper.rb | |
parent | a5a9cd304c10fe012df433e14053b973f7cfc749 (diff) | |
download | gitlab-ce-f49ac5c8d3c3fbe9a75a31ace0cf7a0ed698ded2.tar.gz |
Fix clipboard buttons on MR instructions and Commit#showrs-clipboard-fixes
Diffstat (limited to 'app/helpers/button_helper.rb')
-rw-r--r-- | app/helpers/button_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/button_helper.rb b/app/helpers/button_helper.rb index 313b6dde910..ec0e3f409c1 100644 --- a/app/helpers/button_helper.rb +++ b/app/helpers/button_helper.rb @@ -10,8 +10,8 @@ module ButtonHelper # # => "<button class='...' data-clipboard-text='Foo'>...</button>" # # # Define the target element - # clipboard_button(clipboard_target: "#foo") - # # => "<button class='...' data-clipboard-target='#foo'>...</button>" + # clipboard_button(clipboard_target: "div#foo") + # # => "<button class='...' data-clipboard-target='div#foo'>...</button>" # # See http://clipboardjs.com/#usage def clipboard_button(data = {}) |