mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-12 08:38:11 +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
|
||||
jsPsych.pluginAPI.cancelKeyboardResponse(keyboardListener);
|
||||
jsPsych.pluginAPI.cancelAllKeyboardResponses();
|
||||
|
||||
// gather the data to store for the trial
|
||||
var trial_data = {
|
||||
|
Loading…
Reference in New Issue
Block a user