summaryrefslogtreecommitdiff
path: root/www/js/MontageHistoryCtrl2.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/MontageHistoryCtrl2.js')
-rw-r--r--www/js/MontageHistoryCtrl2.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/MontageHistoryCtrl2.js b/www/js/MontageHistoryCtrl2.js
index d9107a0f..cf621f9f 100644
--- a/www/js/MontageHistoryCtrl2.js
+++ b/www/js/MontageHistoryCtrl2.js
@@ -1283,7 +1283,7 @@ angular.module('zmApp.controllers').controller('zmApp.MontageHistoryCtrl', ['$sc
imagesLoaded(elem).once('always', function () {
console.log("******** ALL IMAGES LOADED");
NVRDataModel.debug("All images loaded");
- $scope.allImagesLoaded = true;
+
$ionicLoading.hide();
@@ -1340,6 +1340,7 @@ angular.module('zmApp.controllers').controller('zmApp.MontageHistoryCtrl', ['$sc
$timeout(function () {
NVRDataModel.log("Force calling resize");
pckry.layout();
+ $scope.allImagesLoaded = true;
}, zm.packeryTimer); // don't ask