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

Adds missing 'hide' to binded methods list in Tour #326

Merged
merged 1 commit into from
Jan 23, 2019

Conversation

seppsepp
Copy link
Contributor

Unless hide is part of the binded methods list the scope later on in Tour#hide (https://github.com/seppsepp/shepherd/blob/master/src/js/tour.js#L197-L203) is wrong and there this is for example <a class="shepherd-button " data-button-event="true">Proceed</a> so that this.getCurrentStep() must fail. If hide is in the list then the scope is correct and this is of instance Tour.

(Without this change adding action: tour.hide to a button definition breaks an app.)

@RobbieTheWagner
Copy link
Member

Good catch! Thanks for the PR.

@RobbieTheWagner RobbieTheWagner merged commit f90bd92 into shipshapecode:master Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants