Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing preventDefault() call to survey-text plugin submit #613

Merged
merged 1 commit into from
May 24, 2019
Merged

Add missing preventDefault() call to survey-text plugin submit #613

merged 1 commit into from
May 24, 2019

Conversation

nabsul
Copy link
Contributor

@nabsul nabsul commented May 8, 2019

It sounds like you
This fixes the issue in #610

To test:

  • Test in Safari or Edge

  • Create a survey with the at least two survey-text trials

  • Start the experiment

  • On the first trial, enter data and attempt to go to the next trial with either pressing enter or clicking the button

  • old behavior: The web page refreshes and the experiment starts over

  • new behavior: Experiment moves on to the next trial as expected

@jodeleeuw jodeleeuw merged commit d1fabcb into jspsych:master May 24, 2019
@jodeleeuw
Copy link
Member

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants