Skip to content

Commit

Permalink
fix copy/paste error of div name
Browse files Browse the repository at this point in the history
  • Loading branch information
jodeleeuw committed Oct 18, 2023
1 parent 66f813f commit d7f3040
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/plugin-audio-button-response/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class AudioButtonResponsePlugin implements JsPsychPlugin<Info> {

// Display buttons
const buttonGroupElement = document.createElement("div");
buttonGroupElement.id = "jspsych-html-button-response-btngroup";
buttonGroupElement.id = "jspsych-audio-button-response-btngroup";
if (trial.button_layout === "grid") {
buttonGroupElement.classList.add("jspsych-btn-group-grid");
if (trial.grid_rows === null && trial.grid_columns === null) {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-canvas-button-response/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class CanvasButtonResponsePlugin implements JsPsychPlugin<Info> {

// Display buttons
const buttonGroupElement = document.createElement("div");
buttonGroupElement.id = "jspsych-html-button-response-btngroup";
buttonGroupElement.id = "jspsych-canvas-button-response-btngroup";
if (trial.button_layout === "grid") {
buttonGroupElement.classList.add("jspsych-btn-group-grid");
if (trial.grid_rows === null && trial.grid_columns === null) {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-image-button-response/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class ImageButtonResponsePlugin implements JsPsychPlugin<Info> {

// Display buttons
const buttonGroupElement = document.createElement("div");
buttonGroupElement.id = "jspsych-html-button-response-btngroup";
buttonGroupElement.id = "jspsych-images-button-response-btngroup";
if (trial.button_layout === "grid") {
buttonGroupElement.classList.add("jspsych-btn-group-grid");
if (trial.grid_rows === null && trial.grid_columns === null) {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-video-button-response/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class VideoButtonResponsePlugin implements JsPsychPlugin<Info> {

// Display buttons
const buttonGroupElement = document.createElement("div");
buttonGroupElement.id = "jspsych-html-button-response-btngroup";
buttonGroupElement.id = "jspsych-video-button-response-btngroup";
if (trial.button_layout === "grid") {
buttonGroupElement.classList.add("jspsych-btn-group-grid");
if (trial.grid_rows === null && trial.grid_columns === null) {
Expand Down

0 comments on commit d7f3040

Please sign in to comment.