mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
switch from visibility:hidden to opacity:0
This commit is contained in:
parent
773347a386
commit
a744756037
@ -79,7 +79,7 @@ jsPsych.plugins["html-keyboard-response"] = (function() {
|
||||
// function to end trial when it is time
|
||||
var end_trial = function(dur) {
|
||||
|
||||
display_element.querySelector('#jspsych-html-keyboard-response-stimulus').style.visibility = 'hidden';
|
||||
display_element.querySelector('#jspsych-html-keyboard-response-stimulus').style.opacity = 0;
|
||||
|
||||
// kill any remaining setTimeout handlers
|
||||
jsPsych.pluginAPI.clearAllTimeouts();
|
||||
|
Loading…
Reference in New Issue
Block a user