Skip to content

Commit

Permalink
return promise on tour start
Browse files Browse the repository at this point in the history
  • Loading branch information
bmartinelle committed Jan 27, 2016
1 parent 5c0c839 commit 14f326f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions dist/nz-tour.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,7 @@
};

toggleElements(true, tour);
doStep();

return service.current.promise.promise;
return doStep();
}

function toggleElements(state, tour) {
Expand Down
Loading

0 comments on commit 14f326f

Please sign in to comment.