From a852da3dbbb376816f34e048b4288294d47e45ba Mon Sep 17 00:00:00 2001 From: kek7198 Date: Fri, 3 Dec 2021 22:00:26 -0600 Subject: [PATCH] fix --- files/templates/comments.html | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index 4c1defd04..fbd220c66 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -48,13 +48,6 @@ window.scrollBy(0, - 100) } }; - - var clipboard = new ClipboardJS('.copy-link'); - clipboard.on('success', function(e) { - var myToast = new bootstrap.Toast(document.getElementById('toast-success')); - myToast.show(); - console.log(e); - }); {% include "expanded_image_modal.html" %} @@ -81,17 +74,6 @@ document.getElementById('toast-post-error-text').innerText = "Only logged-in users can vote!"; {% endif %} } - - const popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')); - - const popoverList = popoverTriggerList.map(function(popoverTriggerEl) { - const popoverId = popoverTriggerEl.getAttribute('data-content-id'); - const contentEl = document.getElementById(popoverId).innerHTML; - return new bootstrap.Popover(popoverTriggerEl, { - content: contentEl, - html: true, - }); - })