removing jquery from two examples

This commit is contained in:
Josh de Leeuw 2016-12-06 13:20:06 -05:00
parent d901078801
commit 6d85cba679
2 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,7 @@
*/
var check_consent = function(elem) {
if ($('#consent_checkbox').is(':checked')) {
if (document.getElementById('consent_checkbox').checked) {
return true;
} else {
alert("If you wish to participate, you must check the box next to the statement 'I agree to participate in this study.'");

View File

@ -47,7 +47,6 @@
jsPsych.pluginAPI.preloadAudioFiles(['sound/sound.mp3','sound/hammer.mp3'], function() {
jsPsych.init({
display_element: $('#jspsych-target'),
timeline: [node],
on_finish: function() {
jsPsych.data.displayData();