summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-08-27 15:56:19 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-08-27 15:56:19 -0400
commitd0884f83a6fa0efe22cb14f31b722c5e16cea81c (patch)
treea7d4dd06510c433789d2132c49e0c386bf4a3da3
parent58fa519f14b92628f54610048a767138ee5c8d3a (diff)
make sure areImagesLoading is in a timeout so it doesn't get missed
-rw-r--r--www/js/MontageCtrl.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js
index e3e0eaa9..41f97664 100644
--- a/www/js/MontageCtrl.js
+++ b/www/js/MontageCtrl.js
@@ -340,7 +340,8 @@ angular.module('zmApp.controllers')
// $scope.$digest();
NVRDataModel.debug("All images loaded, switching to snapshot...");
- $scope.areImagesLoading = false;
+ $timeout (function() {$scope.areImagesLoading = false;});
+
currentStreamState = streamState.SNAPSHOT;
if (simulStreaming) {