classes: timeout on justin. would prefer of $state.go() had a callback param

This commit is contained in:
Tyler Renelle 2013-12-16 21:16:32 -07:00
parent ee3e7c2032
commit 4650e2f592

View file

@ -26,7 +26,7 @@ habitrpg.controller("UserCtrl", ['$rootScope', '$scope', '$location', 'User', '$
$scope.selectedClass = undefined; $scope.selectedClass = undefined;
$rootScope.Shared.updateStore(User.user); $rootScope.Shared.updateStore(User.user);
$state.go('options.profile.stats'); $state.go('options.profile.stats');
Guide.classesTour(); window.setTimeout(Guide.classesTour, 10);
} }
$scope.save = function(){ $scope.save = function(){