Skip to content

Commit

Permalink
Merge pull request #3417 from susanBuck/patch-1
Browse files Browse the repository at this point in the history
Add missing comma
  • Loading branch information
jodeleeuw authored Oct 29, 2024
2 parents a411b88 + aae896b commit 8787391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/jspsych.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")){
Expand Down

0 comments on commit 8787391

Please sign in to comment.