Add confirmation alert
All checks were successful
Gitea Actions Demo / build (push) Successful in 2m13s
All checks were successful
Gitea Actions Demo / build (push) Successful in 2m13s
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
navigator.clipboard.writeText(markdownContent);
|
navigator.clipboard.writeText(markdownContent);
|
||||||
markdownContent.select();
|
markdownContent.select();
|
||||||
document.execCommand("Copy");
|
document.execCommand("Copy");
|
||||||
|
alert("Copied to clipboard!");
|
||||||
}
|
}
|
||||||
function startup() {
|
function startup() {
|
||||||
const el = document.getElementById("markdown");
|
const el = document.getElementById("markdown");
|
||||||
|
Reference in New Issue
Block a user