diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2020-09-05 09:31:45 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2020-09-05 09:31:45 -0400 |
| commit | e71e9c7ce960ec95edd4af5783a62efb14fc1607 (patch) | |
| tree | 78e30a91eac9cbef0394a12d71d05ae2fc7d0e26 /www/js/NVR.js | |
| parent | 058fcb07bf1529339fa5c18cab233c48cdce6a1b (diff) | |
#963 allow size selection of thumbs
Diffstat (limited to 'www/js/NVR.js')
| -rw-r--r-- | www/js/NVR.js | 10 |
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; |
