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

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