diff --git a/static/js/controllers.js b/static/js/controllers.js index 4b4533fda..01db00317 100644 --- a/static/js/controllers.js +++ b/static/js/controllers.js @@ -135,7 +135,7 @@ function LandingCtrl($scope, $timeout, Restangular, UserService) { $scope.$watch( function () { return UserService.currentUser(); }, function (currentUser) { if (!currentUser.anonymous) { - $scope.loadMyRepos(); + $scope.loadMyRepos(); } $scope.user = currentUser; @@ -161,7 +161,6 @@ function LandingCtrl($scope, $timeout, Restangular, UserService) { $scope.awaitingConfirmation = true; $scope.registering = false; }, function(result) { - console.log("Displaying error message."); $scope.registering = false; $scope.registerError = result.data.message; $timeout(function() { @@ -477,8 +476,6 @@ function UserAdminCtrl($scope, Restangular, PlanService, $routeParams) { plan: planId, }; - console.log(subscriptionDetails); - var createSubscriptionRequest = Restangular.one('user/plan'); createSubscriptionRequest.customPUT(subscriptionDetails).then(subscribedToPlan, function() { // Failure