From 01e9485585d66e1ce6af5496da09559d48d70a4f Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 14 Sep 2018 09:36:40 -0400 Subject: nits --- www/js/LoginCtrl.js | 2 +- www/js/MomentCtrl.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'www/js') diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js index 782bcd72..99f215a8 100644 --- a/www/js/LoginCtrl.js +++ b/www/js/LoginCtrl.js @@ -461,7 +461,7 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r $rootScope.alarmCount = 0; $rootScope.isAlarm = false; - $rootScope.newBlogPost = ''; + NVRDataModel.setFirstUse(false); NVRDataModel.setCurrentServerVersion(''); diff --git a/www/js/MomentCtrl.js b/www/js/MomentCtrl.js index 8c82d6c2..5aad9a4d 100644 --- a/www/js/MomentCtrl.js +++ b/www/js/MomentCtrl.js @@ -320,8 +320,6 @@ angular.module('zmApp.controllers').controller('zmApp.MomentCtrl', ['$scope', '$ $scope.expand = !$scope.expand; if ($scope.expand) expandAll(); else collapseAll(); - - var ld = NVRDataModel.getLogin(); ld.montageReviewCollapse = $scope.expand; -- cgit v1.2.3