Skip to content

Commit

Permalink
moving visibility reveal after content is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jodeleeuw committed Dec 10, 2013
1 parent 90cc26a commit 0da9a16
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/jspsych-similarity.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,18 @@
plugin.trial(display_element, block, trial, part + 1);
}, trial.timing_image_gap);
break;

case 3:

$('#jspsych_sim_stim').css('visibility', 'visible');

if (!trial.is_html) {
$('#jspsych_sim_stim').attr('src', trial.b_path);
}
else {
$('#jspsych_sim_stim').html(trial.b_path);
}

$('#jspsych_sim_stim').css('visibility', 'visible');

if (trial.show_response == "SECOND_STIMULUS") {
show_response_slider(display_element, trial, block);
}
Expand Down

0 comments on commit 0da9a16

Please sign in to comment.