Correct getChallenges name

This commit is contained in:
Blade Barringer
2015-07-24 12:49:49 -05:00
parent 12e0bda8a2
commit 0b85dc3e27

View File

@@ -232,7 +232,7 @@ habitrpg.controller("ChallengesCtrl", ['$rootScope','$scope', 'Shared', 'User',
$scope.join = function(challenge){
challenge.$join(function(){
getChallenges()
_getChallenges()
User.log({});
});
@@ -243,7 +243,7 @@ habitrpg.controller("ChallengesCtrl", ['$rootScope','$scope', 'Shared', 'User',
$scope.selectedChal = undefined;
} else {
$scope.selectedChal.$leave({keep:keep}, function(){
getChallenges()
_getChallenges()
User.log({});
});
}