From 10aafcf10a8b887e202516a5f68388f8bbd2d56c Mon Sep 17 00:00:00 2001 From: jakedt Date: Thu, 13 Feb 2014 17:39:01 -0500 Subject: [PATCH] Fix the duplicate firing of events on tour continuations. --- static/js/tour.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/tour.js b/static/js/tour.js index eac104eda..a6c5da0c0 100644 --- a/static/js/tour.js +++ b/static/js/tour.js @@ -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; } }