From e86a3b8a9e1e6716b539adf010c528192c55dee1 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 7 Oct 2016 16:12:03 -0400 Subject: more packery tweaks Former-commit-id: 2604ad30c9bfffdb19cad98b39f40abd330c0e89 --- www/js/MontageHistoryCtrl.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www/js/MontageHistoryCtrl.js') diff --git a/www/js/MontageHistoryCtrl.js b/www/js/MontageHistoryCtrl.js index 897572b9..abe1f984 100644 --- a/www/js/MontageHistoryCtrl.js +++ b/www/js/MontageHistoryCtrl.js @@ -1141,10 +1141,11 @@ angular.module('zmApp.controllers').controller('zmApp.MontageHistoryCtrl', ['$sc pckry.initShiftLayout(positions, 'eh-data-item-id'); }, 0);*/ } + $scope.allImagesLoaded = true; $timeout(function () { NVRDataModel.log("Force calling resize"); pckry.layout(); - $scope.allImagesLoaded = true; + }, zm.packeryTimer); // don't ask -- cgit v1.2.3