ozobi 2019-02-07 14:45:13 +01:00 committed by Matthew Taylor
parent 2463671e20
commit c5033d3ee6
9 changed files with 44 additions and 34 deletions
static/js

View file

@ -65,7 +65,7 @@ $(document).ready(function(){
jQuery(document).ready(function() {
// Add link button for every
var text, clip = new Clipboard('.anchor');
var text, clip = new ClipboardJS('.anchor');
$("h1~h2,h1~h3,h1~h4,h1~h5,h1~h6").append(function(index, html){
var element = $(this);
var url = encodeURI(document.location.origin + document.location.pathname);