From 58d47a3fd5b763d3b607eefe1dac3c24cfc5eff1 Mon Sep 17 00:00:00 2001 From: Mango0x45 Date: Wed, 3 Feb 2021 18:53:51 +0100 Subject: Remove annoying alert --- README.md | 2 ++ main.js | 4 ++-- 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 */ -- cgit v1.2.3