summaryrefslogtreecommitdiff
path: root/www/js/NVR.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2020-09-05 09:31:45 -0400
committerPliable Pixels <pliablepixels@gmail.com>2020-09-05 09:31:45 -0400
commite71e9c7ce960ec95edd4af5783a62efb14fc1607 (patch)
tree78e30a91eac9cbef0394a12d71d05ae2fc7d0e26 /www/js/NVR.js
parent058fcb07bf1529339fa5c18cab233c48cdce6a1b (diff)
#963 allow size selection of thumbs
Diffstat (limited to 'www/js/NVR.js')
-rw-r--r--www/js/NVR.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/www/js/NVR.js b/www/js/NVR.js
index 5bdc23b9..a3cf0189 100644
--- a/www/js/NVR.js
+++ b/www/js/NVR.js
@@ -227,7 +227,9 @@ angular.module('zmApp.controllers')
'httpCordovaNoEncode': false,
'currentZMGroupNames': [],
'unsupported': {},
- 'monitorSpecific': {}
+ 'monitorSpecific': {},
+ 'eventViewThumbs': true,
+ 'eventViewThumbsSize': 'small',
};
@@ -1567,6 +1569,12 @@ angular.module('zmApp.controllers')
}
+ if (typeof loginData.eventViewThumbsSize == 'undefined') {
+
+ loginData.eventViewThumbsSize = 'small';
+
+ }
+
if (typeof loginData.enableSlowLoading == 'undefined') {
loginData.enableSlowLoading = false;