From b088e8eb6d88adba1a404dd18249c100dd86a0c1 Mon Sep 17 00:00:00 2001 From: Rashi1997 Date: Sun, 7 Feb 2021 17:40:00 -0500 Subject: [PATCH] feat: modify showmessage --- trials/showMessage.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trials/showMessage.js b/trials/showMessage.js index ea27cb0..b2c93d3 100644 --- a/trials/showMessage.js +++ b/trials/showMessage.js @@ -23,12 +23,12 @@ module.exports = return { type: responseType, - stimulus: (!onstart)?stimulus:null, + stimulus: (!onstart)?stimulus:'', trial_duration: duration, response_ends_trial: responseEndsTrial, choices: buttons, on_start: (trial) => { - trial.stimulus = (onstart)?stimulus:null; + trial.stimulus = (onstart)?stimulus:''; }, on_load: () => (taskCode!=null)?pdSpotEncode(taskCode, numBlinks, config):null, on_finish: (data) => (taskCode!=null)?data.code = taskCode:null