diff --git a/scripts/app.js b/scripts/app.js index fbca851..c650e93 100644 --- a/scripts/app.js +++ b/scripts/app.js @@ -22,6 +22,9 @@ app.controller("mates", ["$scope", "$http", "$interval", function($scope, $http, $scope.countClick = () => { + // Don't bother updating during a cooldown + if ($scope.cooldown) return; + $http.post("/mates") .then((r) => {