diff --git a/plugins/jspsych-categorize.js b/plugins/jspsych-categorize.js index 1de7decc..e1f708bb 100644 --- a/plugins/jspsych-categorize.js +++ b/plugins/jspsych-categorize.js @@ -113,7 +113,7 @@ jsPsych.plugins.categorize = (function() { plugin.trial = function(display_element, trial) { // default parameters - trial.choices = triaul.choices || jsPsych.ALL_KEYS; + trial.choices = trial.choices || jsPsych.ALL_KEYS; trial.text_answer = (typeof trial.text_answer === 'undefined') ? "" : trial.text_answer; trial.correct_text = (typeof trial.correct_text === 'undefined') ? "
Correct
" : trial.correct_text; trial.incorrect_text = (typeof trial.incorrect_text === 'undefined') ? "Incorrect
" : trial.incorrect_text;