mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-12 16:48:12 +00:00
properly remove keyboard listener
This commit is contained in:
parent
8c752589fb
commit
46c3ab00f7
@ -122,7 +122,7 @@ jsPsych.plugins["single-audio"] = (function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// kill keyboard listeners
|
// kill keyboard listeners
|
||||||
jsPsych.pluginAPI.cancelKeyboardResponse(keyboardListener);
|
jsPsych.pluginAPI.cancelAllKeyboardResponses();
|
||||||
|
|
||||||
// gather the data to store for the trial
|
// gather the data to store for the trial
|
||||||
var trial_data = {
|
var trial_data = {
|
||||||
|
Loading…
Reference in New Issue
Block a user