Skip to content

Stop double clicking on non-input next/previous buttons showing multiple steps #26

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

Closed
wants to merge 5 commits into from

Conversation

meh-uk
Copy link
Contributor

@meh-uk meh-uk commented Apr 1, 2012

If you use a non-input element for the next/previous buttons (e.g. a link) you can get into a state where multiple steps are shown on the screen at once but only one is functional.

To prevent this from happening I've added some code so that the next/previous actions are only run if the links are enabled.

Sorry about the large number of commits, I have had to revert the last changes I sent as I foolishly didn't create a branch - the overall diff is what I want to push though.

@meh-uk
Copy link
Contributor Author

meh-uk commented Jan 20, 2013

Pull #34 is better.

@meh-uk meh-uk closed this Jan 20, 2013
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.

1 participant