veilid-dot-com/themes/veilid/static/js/scripts.js
2023-08-20 17:26:55 -04:00

8 lines
204 B
JavaScript

$(document).ready(function(){
// Copy code snippets to the clipboard
$('.code-snippet').on('click',function(){
navigator.clipboard.writeText($(this).children('input').val());
});
});