Fix the duplicate firing of events on tour continuations.

This commit is contained in:
jakedt 2014-02-13 17:39:01 -05:00
parent 39b5d325c7
commit 10aafcf10a

View file

@ -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;
}
}