remove check for jspsych object in example

This commit is contained in:
jade 2024-10-29 14:20:10 -04:00
parent ee8423243f
commit 82ca149092

View File

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