Skip to content

Commit

Permalink
add swipe-response-stimulus-container div
Browse files Browse the repository at this point in the history
  • Loading branch information
Emily-ejag committed Jul 31, 2024
1 parent a19245d commit 6ead0b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-html-swipe-response/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class HtmlSwipeResponsePlugin implements JsPsychPlugin<Info> {

trial(display_element: HTMLElement, trial: TrialType<Info>) {
// display stimulus
let new_html = '<div id="jspsych-html-swipe-response-stimulus">' + trial.stimulus + "</div>";
let new_html = '<div id="div id="jspsych-html-swipe-response-stimulus-container"><div id="jspsych-html-swipe-response-stimulus">' + trial.stimulus + "</div> </div>";

// add prompt
if (trial.prompt !== null) {
Expand Down

0 comments on commit 6ead0b4

Please sign in to comment.