diff --git a/public/app/invites.js b/public/app/invites.js index da349a1..0028f0d 100644 --- a/public/app/invites.js +++ b/public/app/invites.js @@ -10,7 +10,7 @@ angular.module('warehost') alert.set({}); $scope.list = {}; $scope.obj = {}; - $scope.invitor = {} + $scope.invitor = {}; function resetObj(){ $scope.obj = {}; @@ -51,7 +51,7 @@ angular.module('warehost') $scope.add = function(){ $http.post(config.api+'/invite',$scope.obj).then(submitresult); }; - $scope.toggleAdmin = function(a){ + $scope.toggleAdmin = function(){ $http.put(config.api+'/invitor').then(submitresult); }; }); diff --git a/public/index.html b/public/index.html index 96df75b..c20563f 100644 --- a/public/index.html +++ b/public/index.html @@ -19,8 +19,8 @@ + -