Cleanup unnecessary element after clipboard fix

This commit is contained in:
Maria Merkel
2025-08-30 18:12:06 +02:00
committed by wiedehopf
parent 9c0f2e9579
commit 6f5f2fec78

View File

@@ -8902,13 +8902,6 @@ function printTrace() {
_printTrace(SelectedPlane.recentTrace.trace);
}
// Create a "hidden" input
let shareLinkInput = document.createElement("input");
shareLinkInput.hidden = true;
// Append it to the body
document.body.appendChild(shareLinkInput);
function copyShareLink() {
navigator.clipboard.writeText(shareLink);