Closed bbonf closed 2 years ago
Perhaps, when running offline we are able to conditionally insert a duplicated view of the online end screen but without uploading/displaying the data?
Maybe it's easier to introduce a delay in uil.saveData for the offline case:
setTimeout(() => jsPsych.data.displayData(), 3000);
There's one disadvantage to this change: when running the experiment offline, you don't get to see the final screen, as it will be replaced by the JSON data immediately.