From aa399523b29bb1cdbff9ed082dd919409bb0e30f Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Wed, 5 Oct 2016 14:28:58 -0400 Subject: tweaks to packery Former-commit-id: ee6a0147819ee24195b8be8b6d58ac177c617ef1 --- www/js/MontageHistoryCtrl2.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www/js/MontageHistoryCtrl2.js') 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 -- cgit v1.2.3