diff --git a/files/templates/comments.html b/files/templates/comments.html index 62bd34ae77..d947c580c3 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -459,12 +459,12 @@ }; var clipboard = new ClipboardJS('.copy-link'); - clipboard.addEventListener('success', function(e) { + clipboard.on('success', function(e) { var myToast = new bootstrap.Toast(document.getElementById('toast-success')); myToast.show(); console.log(e); }); - clipboard.addEventListener('error', function(e) { + clipboard.on('error', function(e) { var myToast = new bootstrap.Toast(document.getElementById('toast-error')); myToast.show(); console.log(e); @@ -750,7 +750,7 @@ {% endif %}
  • Context
  • -
  • Copy link
  • +
  • Copy link
  • {% if v %}
  • Report
  • @@ -908,7 +908,7 @@
  • Unsave
  • {% endif %} - +
  • Context
  • diff --git a/files/templates/header.html b/files/templates/header.html index 9096c953ae..11b5ef45b9 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -109,7 +109,7 @@
    - +

    diff --git a/files/templates/log.html b/files/templates/log.html index d5a658407f..45d75f7654 100644 --- a/files/templates/log.html +++ b/files/templates/log.html @@ -18,12 +18,12 @@