From 6d85cba679c9da767d2301e81bb1bc5ac95951be Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Tue, 6 Dec 2016 13:20:06 -0500 Subject: [PATCH] removing jquery from two examples --- tests&examples/jspsych-html.html | 2 +- tests&examples/timeline-variables.html | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests&examples/jspsych-html.html b/tests&examples/jspsych-html.html index 7a9caa26..91e5c574 100644 --- a/tests&examples/jspsych-html.html +++ b/tests&examples/jspsych-html.html @@ -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.'"); diff --git a/tests&examples/timeline-variables.html b/tests&examples/timeline-variables.html index ef651d36..a7a65522 100644 --- a/tests&examples/timeline-variables.html +++ b/tests&examples/timeline-variables.html @@ -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();