diff --git a/packages/record/src/consentVideo.ts b/packages/record/src/consentVideo.ts index 3d1e2c9b..06c3a245 100644 --- a/packages/record/src/consentVideo.ts +++ b/packages/record/src/consentVideo.ts @@ -280,7 +280,7 @@ export class VideoConsentPlugin implements JsPsychPlugin { */ private nextButton(display: HTMLElement) { const next = this.getButton(display, "next"); - next.addEventListener("click", () => this.endTrial()); + next.addEventListener("click", this.endTrial); } /**