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 += '';