mirror of
https://github.com/kevinveenbirkenbach/homepage.veen.world.git
synced 2025-01-15 19:23:58 +01:00
Removed allerts
This commit is contained in:
parent
562f5989e1
commit
f85dc5bb18
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user