This commit is contained in:
Ross
2022-08-05 11:10:50 +01:00
parent 84847fee80
commit 60d15a0e46
+1 -1
View File
@@ -142,7 +142,7 @@ function submissionError(data, answer_json, exam_details) {
$("#submit-error-overlay").height(docHeight);
let file = new Blob([answer_json], {type: "application/json"})
let file = new Blob([JSON.stringify(answer_json)], {type: "application/json"})
let link = document.getElementById("save-failed-answers");
link.href = URL.createObjectURL(file);