From ecc5954b9138f022b42ad464c74017cff9843fee Mon Sep 17 00:00:00 2001 From: pliablepixels Date: Tue, 8 Mar 2016 20:00:21 -0500 Subject: #179 cleanup Former-commit-id: 50651051174bc435ed31b0ec21e82f2bf042a2a0 --- www/js/MontageCtrl.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'www/js') diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js index f2fb72fd..6039d9ee 100644 --- a/www/js/MontageCtrl.js +++ b/www/js/MontageCtrl.js @@ -20,14 +20,9 @@ angular.module('zmApp.controllers').controller('zmApp.MontageCtrl', ['$scope', ' var isLongPressActive = false; $scope.isReorder = false; var intervalHandleMontage; // will hold image resize timer on long press - var montageIndex = 0; // will hold monitor ID to scale in timer + var gridcontainer; - - $scope.monitorSize = []; // array with montage sizes per monitor - $scope.scaleDirection = []; // 1 = increase -1 = decrease - $scope.slider = {}; - var pckry, draggie; var draggies; $scope.isDragabillyOn = false; @@ -776,7 +771,7 @@ function initPackery() function layout(pckry) { - pckry.shiftLayout(); + pckry.layout(); } //--------------------------------------------------------- -- cgit v1.2.3