From 2e5a79a872fda109d860724a1d57a95dc496a43c Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Sat, 9 Nov 2013 15:24:41 -0500 Subject: [PATCH] bug fix single-stim --- plugins/jspsych-single-stim.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/jspsych-single-stim.js b/plugins/jspsych-single-stim.js index 6f32bb05..ba373f82 100644 --- a/plugins/jspsych-single-stim.js +++ b/plugins/jspsych-single-stim.js @@ -42,7 +42,7 @@ trials[i].timing_response = params.timing_response || -1; // if -1, then wait for response forever trials[i].timing_post_trial = params.timing_post_trial || 1000; // optional parameters - trials[i].is_html = (typeof params.is_html === 'undefined') ? false : true; + trials[i].is_html = (typeof params.is_html === 'undefined') ? false : params.is_html; trials[i].prompt = (typeof params.prompt === 'undefined') ? "" : params.prompt; trials[i].data = (typeof params.data === 'undefined') ? {} : params.data[i]; }