Commit 16174985 authored by Luc Didry's avatar Luc Didry

Fix copie dans le presse-papier (framaticket 7222)

parent e0a94893
......@@ -29,7 +29,7 @@
});
}
function copyToClipboard(el) {
el = el.siblings('input');
el = el.parent().siblings('input');
var textArea = document.createElement('textarea');
textArea.style.position = 'fixed';
textArea.style.top = 0;
......@@ -284,4 +284,4 @@
if(window.location.hash=="#send-url") { $('.nav-tabs li, .tab-pane').removeClass('active'); $('.nav-tabs li:eq(1), #send-url').addClass('active'); }
$('p.help-block').html(function(){ return $(this).html().replace('Lutim','Framapic') });
});
% end
% end
\ No newline at end of file
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