mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
Fix simulate_visual
in audio-button-response plugin
This commit is contained in:
parent
5f3b0f37f8
commit
bcf2642b89
@ -305,7 +305,9 @@ class AudioButtonResponsePlugin implements JsPsychPlugin<Info> {
|
|||||||
const respond = () => {
|
const respond = () => {
|
||||||
if (data.rt !== null) {
|
if (data.rt !== null) {
|
||||||
this.jsPsych.pluginAPI.clickTarget(
|
this.jsPsych.pluginAPI.clickTarget(
|
||||||
display_element.querySelector(`div[data-choice="${data.response}"] button`),
|
display_element.querySelector(
|
||||||
|
`#jspsych-audio-button-response-btngroup [data-choice="${data.response}"]`
|
||||||
|
),
|
||||||
data.rt
|
data.rt
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user