Removed allerts

This commit is contained in:
Kevin Veen-Birkenbach 2025-01-09 15:19:37 +01:00
parent 562f5989e1
commit f85dc5bb18

View File

@ -43,8 +43,6 @@ function openDynamicPopup(subitem) {
document.getElementById('dynamicCopyButton').addEventListener('click', function () { document.getElementById('dynamicCopyButton').addEventListener('click', function () {
modalContent.select(); modalContent.select();
navigator.clipboard.writeText(modalContent.value) navigator.clipboard.writeText(modalContent.value)
.then(() => alert('Content copied to clipboard!'))
.catch(() => alert('Failed to copy content.'));
}); });
// Modal anzeigen // Modal anzeigen