mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
classes: timeout on justin. would prefer of $state.go() had a callback param
This commit is contained in:
parent
ee3e7c2032
commit
4650e2f592
1 changed files with 1 additions and 1 deletions
|
|
@ -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(){
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue