From f85dc5bb18f35d318cb31e664282e88a2ada78fa Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 9 Jan 2025 15:19:37 +0100 Subject: [PATCH] Removed allerts --- app/static/js/modal.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/static/js/modal.js b/app/static/js/modal.js index ef77f74..ce88898 100644 --- a/app/static/js/modal.js +++ b/app/static/js/modal.js @@ -43,8 +43,6 @@ function openDynamicPopup(subitem) { document.getElementById('dynamicCopyButton').addEventListener('click', function () { modalContent.select(); navigator.clipboard.writeText(modalContent.value) - .then(() => alert('Content copied to clipboard!')) - .catch(() => alert('Failed to copy content.')); }); // Modal anzeigen