diff --git a/js/interact.js b/js/interact.js index e1f97c0..d05f1b6 100644 --- a/js/interact.js +++ b/js/interact.js @@ -144,7 +144,7 @@ function submissionError(data, answer_json, exam_details) { let file = new Blob([answer_json], {type: "application/json"}) - link = document.getElementById("saved-failed-answers"); + let link = document.getElementById("saved-failed-answers"); link.href = URL.createObjectURL(file); link.download = "answers.json"; }