diff --git a/js/interact.js b/js/interact.js index 9bceeaf..fd25bce 100644 --- a/js/interact.js +++ b/js/interact.js @@ -140,7 +140,7 @@ export function submissionError(data, answer_json, exam_details) { if ($("#submit-error-overlay").length < 1) { $("body").append( - `
An error has occurred when submitting your answers. A copy of your answers are displayed below, you may wish to save a copy. Please try submitting again or refresh this page to continue (answers will be saved locally in the browser unless you clear local storage).
${html.get(0).innerHTML}
${JSON.stringify( + `
An error has occurred when submitting your answers. A copy of your answers are displayed below, you may wish to save a copy if subsequent submissions still fail. Please try submitting again or refresh this page to continue (answers will be saved locally in the browser unless you clear local storage).
${html.get(0).innerHTML}
${JSON.stringify( answer_json )}
${JSON.stringify( - answer_json - )}
${JSON.stringify(answer_json, null, 2)}
+