Update jspsych-extension-mouse-tracking.html

The const `start` has been removed in the previous commit, and does not seem to be currently required to run the demo (i.e., the reference to it raises "Uncaught ReferenceError:".
This commit is contained in:
Eitan Hemed 2024-10-11 13:09:29 +02:00 committed by GitHub
parent a411b88069
commit ee8423243f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,7 +84,7 @@
}; };
if (typeof jsPsych !== "undefined") { if (typeof jsPsych !== "undefined") {
jsPsych.run([start, trial_loop]); jsPsych.run([trial_loop]);
} else { } else {
document.body.innerHTML = '<div style="text-align:center; margin-top:50%; transform:translate(0,-50%);">You must be online to view the plugin demo.</div>'; document.body.innerHTML = '<div style="text-align:center; margin-top:50%; transform:translate(0,-50%);">You must be online to view the plugin demo.</div>';
} }