fixed typo

This commit is contained in:
Karma Riuk
2025-06-16 11:51:46 +02:00
parent 66de837f7d
commit a63ebb2526
2 changed files with 5 additions and 5 deletions

View File

@ -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.");
}