summaryrefslogtreecommitdiff
path: root/www/js/DevOptionsCtrl.js
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-12-16 06:04:38 -0500
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-12-16 06:04:38 -0500
commit1b103c064522188f3ee38190598dbef0f73cb7b5 (patch)
treec68d0bd1c6dd3c821bd2542fa3b692f5f1df97f8 /www/js/DevOptionsCtrl.js
parentfc6fa4fe6283b69964646036758c5b6b9f792516 (diff)
#114 - typo in code resulted in check not being enforced
Former-commit-id: b47fd63981dd8ef387ec93bd11cb6f0a06846759
Diffstat (limited to 'www/js/DevOptionsCtrl.js')
-rw-r--r--www/js/DevOptionsCtrl.js4
1 files changed, 2 insertions, 2 deletions
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;