mirror of
https://github.com/itflow-org/itflow
synced 2026-08-24 00:15:12 +00:00
Automatically copy share link to clipboard
This commit is contained in:
@@ -27,6 +27,9 @@
|
||||
document.getElementById("share_link_header").hidden = false;
|
||||
document.getElementById("share_link").hidden = false;
|
||||
document.getElementById("share_link").value = response;
|
||||
|
||||
// Copy link to clipboard
|
||||
navigator.clipboard.writeText(response);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user