mirror of
https://github.com/karma-riuk/crab-webapp.git
synced 2025-09-06 10:07:54 +02:00
fixed typo
This commit is contained in:
@@ -75,8 +75,8 @@ document.getElementById("upload-btn").onclick = async () => {
|
||||
uploadStatusEl.classList.add("hidden");
|
||||
progressContainer.classList.add("hidden");
|
||||
|
||||
const type = document.getElementById("answer-cype").value;
|
||||
const fileInput = document.getElementById("file-cnput");
|
||||
const type = document.getElementById("answer-type").value;
|
||||
const fileInput = document.getElementById("file-input");
|
||||
if (!fileInput.files.length) {
|
||||
return alert("Please choose a JSON file first.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user