Next and Prev buttons not working #583

Open
katedee opened this Issue Sep 28, 2016 · 0 comments

Projects

None yet

1 participant

@katedee
katedee commented Sep 28, 2016

So I am running a tour, and depending on what the user clicks, there is different feedback on the page throughout the tour.

I cut my function out, and have it just to console.log, but basically, if this function happens the next prev do no work.

So if I click on some button on the page, it runs through here:

$('input[name="taskSelection"],.task').on('click', function(){
if(isLastStep === false){       
    console.log("skipping");
} else {
    console.log("wrong task");
}
});

this is not triggered on the next or previous buttons of the tour. Rather, completely separate buttons. Yet once this bit is called, the Next and Prev buttons in tour do not function and debug returns nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment