From e71e9c7ce960ec95edd4af5783a62efb14fc1607 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sat, 5 Sep 2020 09:31:45 -0400 Subject: #963 allow size selection of thumbs --- www/js/NVR.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'www/js/NVR.js') 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; -- cgit v1.2.3