aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMango0x45 <thomasvoss@live.com> 2021-02-03 18:04:25 +0100
committerMango0x45 <thomasvoss@live.com> 2021-02-03 18:04:25 +0100
commitfd2a3e806b73443c47d9d91b788496839f79e290 (patch)
tree9d322c767108bd959afd85417ab7abe3cedc2903
parent83285d8fce40a6df4a4d35ee54409b88a1848340 (diff)
Fix some bugz
-rw-r--r--index.html2
-rw-r--r--main.js6
2 files changed, 4 insertions, 4 deletions
diff --git a/index.html b/index.html
index 3dfcbb0..6f3bdb3 100644
--- a/index.html
+++ b/index.html
@@ -18,7 +18,7 @@
two numbers after the @ and enter them for framerate.</p>
<p>
<label for="framerate">Framerate: </label>
- <input type="text" id="framerate" size="3" value="60" onchange='check_fps(event)' />
+ <input type="text" id="framerate" size="3" value="30" onchange='check_fps(event)' />
</p>
<h3 id="video-endpoints">Video Endpoints</h3>
<p>
diff --git a/main.js b/main.js
index 8ab2fee..6cf8855 100644
--- a/main.js
+++ b/main.js
@@ -51,7 +51,7 @@ function compute() {
}
/* Allow user to copy mod message to clipboard */
-function copyModMessage() {
+function copy_mod_message() {
const text_area = document.getElementById("mod_message");
text_area.focus();
text_area.select();
@@ -70,11 +70,11 @@ const check_fps =
document.getElementById("framerate").reportValidity();
document.getElementById("startobj").disabled = true;
document.getElementById("endobj").disabled = true;
- document.getElementById("computeButton").disabled = true;
+ document.getElementById("compute_button").disabled = true;
} else {
document.getElementById("startobj").disabled = false;
document.getElementById("endobj").disabled = false;
- document.getElementById("computeButton").disabled = false;
+ document.getElementById("compute_button").disabled = false;
}
}