From 1b103c064522188f3ee38190598dbef0f73cb7b5 Mon Sep 17 00:00:00 2001 From: Arjun Roychowdhury Date: Wed, 16 Dec 2015 06:04:38 -0500 Subject: #114 - typo in code resulted in check not being enforced Former-commit-id: b47fd63981dd8ef387ec93bd11cb6f0a06846759 --- www/js/DevOptionsCtrl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/js/DevOptionsCtrl.js') diff --git a/www/js/DevOptionsCtrl.js b/www/js/DevOptionsCtrl.js index 5dd604ba..80dae62a 100644 --- a/www/js/DevOptionsCtrl.js +++ b/www/js/DevOptionsCtrl.js @@ -69,8 +69,8 @@ angular.module('zmApp.controllers').controller('zmApp.DevOptionsCtrl', ['$scope' if ((parseInt($scope.loginData.maxFPS) < 0) || (parseInt($scope.loginData.maxFPS) > zm.maxFPS)) { $scope.loginData.maxFPS = zm.defaultFPS.toString(); } - - if (parseInt($scope.loginData.refeshSec) <= 0) { + + if (parseInt($scope.loginData.refreshSec) <= 0) { ZMDataModel.zmDebug("SaveDevOptions: refresh sec was too low at " + $scope.loginData.refreshSec + " reset to 1"); $scope.loginData.refreshSec = 1; -- cgit v1.2.3