mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-12 08:38:11 +00:00
fixes #278
This commit is contained in:
parent
835b1664cd
commit
fa5d8b74fe
@ -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') ? "<p class='feedback'>Correct</p>" : trial.correct_text;
|
||||
trial.incorrect_text = (typeof trial.incorrect_text === 'undefined') ? "<p class='feedback'>Incorrect</p>" : trial.incorrect_text;
|
||||
|
Loading…
Reference in New Issue
Block a user