Fix the duplicate firing of events on tour continuations.
This commit is contained in:
parent
39b5d325c7
commit
10aafcf10a
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ angular.module("angular-tour", [])
|
|||
|
||||
// If there is an active tour, transition it over to the overlay.
|
||||
if ($scope.tour && $scope.step && $scope.step['overlayable']) {
|
||||
AngularTour.start($scope.tour, $scope.stepIndex, $scope.tourScope);
|
||||
AngularTour.start($scope.tour, $scope.stepIndex + 1, $scope.tourScope);
|
||||
$scope.tour = null;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue