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

Don't start a tour if the first step's attachTo isn't present #29

Merged
merged 2 commits into from
Jan 9, 2020

Conversation

jabbett
Copy link
Contributor

@jabbett jabbett commented Jan 8, 2020

Resolves #28

We introduce a check in the wrapped tour.start method that confirms whether the first step's attachTo element is present on the page. (If the first step doesn't have an attachTo block, the check isn't performed.)

Added a system test to confirm the case.

@jabbett jabbett requested a review from rroppolo January 8, 2020 19:10
Copy link
Contributor

@rroppolo rroppolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jabbett jabbett merged commit 60dcd0d into develop Jan 9, 2020
@jabbett jabbett deleted the feature/check-first-step branch January 9, 2020 12:39
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.

2 participants