From 10b6a7d47b6b657a2a98da73b4016c7fb1f495aa Mon Sep 17 00:00:00 2001 From: Martin Geno Date: Sat, 27 Aug 2016 02:13:16 +0200 Subject: [PATCH] fix inventor --- public/app/invites.js | 4 ++-- public/index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 @@ + -