From 8e74f0391ce2082d380c14ffb0a97457077b2429 Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Sun, 25 Jun 2017 20:53:25 -0400 Subject: [PATCH] fix extra presentation of X --- plugins/jspsych-xab.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/plugins/jspsych-xab.js b/plugins/jspsych-xab.js index f45ecf6e..f8e3e513 100644 --- a/plugins/jspsych-xab.js +++ b/plugins/jspsych-xab.js @@ -139,12 +139,7 @@ jsPsych.plugins.xab = (function() { if (!target_left) { images = [trial.b_path, trial.a_path]; } - - if (!trial.is_html) { - display_element.innerHTML = ''; - } else { - display_element.innerHTML = '
'+trial.x_path+'
'; - } + // show the options if (!trial.is_html) { display_element.innerHTML += '';