Merge pull request #3414 from EitanHemed/patch-1

Update jspsych-extension-mouse-tracking.html
This commit is contained in:
Josh de Leeuw 2024-10-29 14:22:14 -04:00 committed by GitHub
commit 57c0da6d80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -83,12 +83,7 @@
}
};
if (typeof jsPsych !== "undefined") {
jsPsych.run([start, trial_loop]);
} 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>';
}
jsPsych.run([trial_loop]);
</script>
</html>