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

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