Merge pull request #3417 from susanBuck/patch-1

Add missing comma
This commit is contained in:
Josh de Leeuw 2024-10-29 14:09:13 -04:00 committed by GitHub
commit 87873910e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -150,7 +150,7 @@ Ends the experiment, skipping all remaining trials. If the `on_finish` event han
var trial = {
type: jsPsychImageKeyboardResponse,
stimulus: 'image1.jpg',
choices: ['y', 'n']
choices: ['y', 'n'],
prompt: '<p>Press "y" to Continue. Press "n" to end the experiment</p>',
on_finish: function(data){
if(jsPsych.pluginAPI.compareKeys(data.response, "n")){