Tutorial improvements

- Skip the build-related tutorial steps when builds are disabled
- Make the styling of the tutorial more consistent with the new layout
This commit is contained in:
Joseph Schorr 2015-06-04 14:15:47 -04:00
parent 04678e4e64
commit 4347e2f344
8 changed files with 28 additions and 15 deletions

View file

@ -159,6 +159,10 @@ angular.module("angular-tour", [])
}
$scope.step = $scope.tour.steps[stepIndex];
if ($scope.step.skip) {
$scope.setStepIndex(stepIndex + 1);
return;
}
fireMixpanelEvent();