Cleanup unnecessary element after clipboard fix
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user