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

if the button is disabled then don't perform its click action if it isn't an input #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

meh-uk
Copy link
Contributor

@meh-uk meh-uk commented Jan 20, 2013

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.

This is a cleaned up version of pull request #26.

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