From e07984095cb6172686e167c81c8900a844238956 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 4 Jan 2021 10:54:52 +0000 Subject: [PATCH] . --- js/interact.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/js/interact.js b/js/interact.js index 4ee1bb9..cefee76 100644 --- a/js/interact.js +++ b/js/interact.js @@ -63,17 +63,20 @@ export function postAnswers(ans) { alert(`Error submitting answers: ${data.error}`); var docHeight = $(document).height(); - $("body").append(`

A copy of your answers are displayed below. Please refresh this page to continue.

${JSON.stringify(ans)}
`); + $("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 refresh this page to continue.

${JSON.stringify(ans)}
`); $("#overlay") .height(docHeight) .css({ - 'opacity' : 0.4, + 'opacity' : 0.9, 'position': 'absolute', 'top': 0, 'left': 0, 'background-color': 'black', 'width': '100%', + 'user-select': 'text', + '-moz-user-select': 'text', + '-webkit-user-select': 'text', 'z-index': 5000 }); }