From 92eb1b1fa11c139d2fd8d98ee8e3c781a5749d4b Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 22 Aug 2022 10:13:20 +0100 Subject: [PATCH] . --- js/interact.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/interact.js b/js/interact.js index 0853850..c9a9050 100644 --- a/js/interact.js +++ b/js/interact.js @@ -133,7 +133,7 @@ function submissionError(data, answer_json, exam_details) { if ($("#submit-error-overlay").length < 1) { $("body").append( - `

An error has occured when submit 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.

${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. 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 )}

` );