diff --git a/docs/reference/jspsych.md b/docs/reference/jspsych.md index 4ab5b197f6..906241fc73 100644 --- a/docs/reference/jspsych.md +++ b/docs/reference/jspsych.md @@ -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: '

Press "y" to Continue. Press "n" to end the experiment

', on_finish: function(data){ if(jsPsych.pluginAPI.compareKeys(data.response, "n")){