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 }); }