From 4ee25acafea2989323aa9943f4f9abaab4258c6a Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Tue, 12 Jul 2016 12:29:30 -0400 Subject: [PATCH] possible #274 fix? --- plugins/jspsych-text.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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