summaryrefslogtreecommitdiff
path: root/www/js/MomentCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/MomentCtrl.js')
-rw-r--r--www/js/MomentCtrl.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/js/MomentCtrl.js b/www/js/MomentCtrl.js
index 79454c33..38edb4e4 100644
--- a/www/js/MomentCtrl.js
+++ b/www/js/MomentCtrl.js
@@ -817,6 +817,9 @@ angular.module('zmApp.controllers').controller('zmApp.MomentCtrl', ['$scope', '$
$scope.toggleIcons = function () {
$scope.showIcons = !$scope.showIcons;
+ ld = NVR.getLogin();
+ ld.momentShowIcons = $scope.showIcons;
+ NVR.setLogin(ld);
};
//----------------------------------------------------------------
@@ -843,7 +846,7 @@ angular.module('zmApp.controllers').controller('zmApp.MomentCtrl', ['$scope', '$
masonry = null;
var ld = NVR.getLogin();
- $scope.showIcons = true;
+ $scope.showIcons = ld.momentShowIcons;
$scope.areImagesLoading = true;