mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Correct getChallenges name
This commit is contained in:
@@ -232,7 +232,7 @@ habitrpg.controller("ChallengesCtrl", ['$rootScope','$scope', 'Shared', 'User',
|
|||||||
|
|
||||||
$scope.join = function(challenge){
|
$scope.join = function(challenge){
|
||||||
challenge.$join(function(){
|
challenge.$join(function(){
|
||||||
getChallenges()
|
_getChallenges()
|
||||||
User.log({});
|
User.log({});
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -243,7 +243,7 @@ habitrpg.controller("ChallengesCtrl", ['$rootScope','$scope', 'Shared', 'User',
|
|||||||
$scope.selectedChal = undefined;
|
$scope.selectedChal = undefined;
|
||||||
} else {
|
} else {
|
||||||
$scope.selectedChal.$leave({keep:keep}, function(){
|
$scope.selectedChal.$leave({keep:keep}, function(){
|
||||||
getChallenges()
|
_getChallenges()
|
||||||
User.log({});
|
User.log({});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user