diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2019-05-20 10:43:06 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2019-05-20 10:43:06 -0400 |
| commit | 5aee4039af90cc6b5c372076daa1d5ada9596075 (patch) | |
| tree | 181be75ee0f0df67940cb1d78276476b18bf1f3b /www/js/MontageCtrl.js | |
| parent | 1e4c404d3a0657840acdf143e27fdc6ede6f81b5 (diff) | |
demote logs
Diffstat (limited to 'www/js/MontageCtrl.js')
| -rw-r--r-- | www/js/MontageCtrl.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js index 62077328..4834d9e7 100644 --- a/www/js/MontageCtrl.js +++ b/www/js/MontageCtrl.js @@ -639,7 +639,7 @@ angular.module('zmApp.controllers') // console.log ("EVENTS GOT: "+JSON.stringify(data)); var res = data.data; var mid = monitor.Monitor.Id; - if (!res.events) res = undefined; + if (!res || !res.events) res = undefined; else if (res.events.length == 0) res = undefined; monitor.Monitor.lastEvent = res; @@ -2452,7 +2452,7 @@ angular.module('zmApp.controllers') } $scope.squeezeMonitors = function () { - console.log ("squeezing"); + NVR.debug ("squeezing"); pckry.once('layoutComplete', resizeComplete); $timeout(function () { pckry.layout(); |
