aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'main.js')
-rw-r--r--main.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.js b/main.js
index 5fa8acf..ae7f1d3 100644
--- a/main.js
+++ b/main.js
@@ -22,8 +22,8 @@ function compute()
const s_frame = Math.trunc(s_time * fps);
const e_frame = Math.trunc(e_time * fps);
const time = time_format(seconds);
- const mod_message = `Mod Note: Retimed (Start Frame: ${s_frame}, End Frame: ${e_frame}, FPS: ${
- fps}, Total Time: ${time})`;
+ const mod_message = `Mod Note: Retimed (Start Frame: ${s_frame}, End Frame: ${
+ e_frame}, FPS: ${fps}, Total Time: ${time})`;
document.getElementById("time").value = time;
document.getElementById("mod_message").disabled = false;
@@ -86,7 +86,7 @@ function parse_time(event)
}
/* If cmt isn't available fallback to lct, also allow raw numbers */
- if (!(inp = dinfo.cmt) && !(inp = dinfo.lct) && typeof ((inp = dinfo)) !== "number") {
+ if (!(input = dinfo.cmt) && !(input = dinfo.lct) && typeof ((input = dinfo)) !== "number") {
document.getElementById(event.target.id).value = "";
return;
}