diff --git a/plugins/jspsych-text.js b/plugins/jspsych-text.js index 93437649..f30b671a 100644 --- a/plugins/jspsych-text.js +++ b/plugins/jspsych-text.js @@ -36,7 +36,7 @@ jsPsych.plugins.text = (function() { plugin.trial = function(display_element, trial) { - trial.cont_key = trial.cont_key || []; + trial.cont_key = trial.cont_key || jsPsych.ALL_KEYS; // if any trial variables are functions // this evaluates the function and replaces