aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMango0x45 <thomasvoss@live.com> 2021-02-03 18:53:51 +0100
committerMango0x45 <thomasvoss@live.com> 2021-02-03 18:53:51 +0100
commit58d47a3fd5b763d3b607eefe1dac3c24cfc5eff1 (patch)
treec7f088e6647bfec148ac4089409b8a25a70ba5c9
parentab8c517cdcdb3733ec552846857a3350bb5af6fa (diff)
Remove annoying alert
-rw-r--r--README.md2
-rw-r--r--main.js4
2 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 2af5cd3..dfdd826 100644
--- a/README.md
+++ b/README.md
@@ -11,3 +11,5 @@ This fork also has a few other tweaks:
* The mod message has been changed to include the exact frame instead of timestamps
* The time format has been changed from `Xh Xm Xs Xms` to `XX:XX:XX.XXX`
+
+* Removed the alert that appears when copying the mod message
diff --git a/main.js b/main.js
index ee1437d..45ac9b7 100644
--- a/main.js
+++ b/main.js
@@ -55,8 +55,8 @@ function copy_mod_message()
text_area.focus();
text_area.select();
document.execCommand("copy");
- alert(
- `The mod message has been copied to clipboard! Please paste it into the comment of the run you are verifying.`);
+ // document.getElementById("mod_message").innerText = text_area.value + "\n\nCopied to clipboard
+ // successfully!"
}
/* If framerate is invalid, show an error message and disable start and end frame fields */