Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions task-launcher/src/tasks/memory-game/trials/instructions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ export const instructions = instructionData.map((data) => {
const pageStateHandler = new PageStateHandler(data.prompt, true);
setupReplayAudio(pageStateHandler);

const okBtnContainer = document.getElementById("jspsych-html-multi-response-button-0")
if (okBtnContainer) {
okBtnContainer.style.margin = "8px";
}

// hide toast if it is there
const toast = document.getElementById('lev-toast-default');
if (toast) {
Expand Down
5 changes: 5 additions & 0 deletions task-launcher/src/tasks/shared/trials/feedback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ export const feedback = (
};

PageAudioHandler.playAudio(stimulusPath || mediaAssets.audio.nullAudio, audioConfig);

const okBtnContainer = document.getElementById("jspsych-html-multi-response-button-0")
if (okBtnContainer) {
okBtnContainer.style.margin = "8px";
}
},
on_finish: () => {
PageAudioHandler.stopAndDisconnectNode();
Expand Down
Loading