summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPliablePixels <pliablepixels@gmail.com>2015-06-17 13:48:19 -0400
committerPliablePixels <pliablepixels@gmail.com>2015-06-17 13:48:19 -0400
commit0b8703df1df3632ccdbea49f1245f783c0e84af4 (patch)
tree31248d7568845bc2f18764443b8819d5485c7da2
parentcfac7e08e1fe03540ac4954db106a9232347e4c4 (diff)
fixed scrolling bug introduced by initing monitor array in controller global scope
-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 407bd214..f99e6da1 100644
--- a/www/js/MontageCtrl.js
+++ b/www/js/MontageCtrl.js
@@ -14,7 +14,8 @@ angular.module('zmApp.controllers').controller('zmApp.MontageCtrl', ['$scope', '
var intervalHandleMontage; // will hold image resize timer on long press
var montageIndex = 0; // will hold monitor ID to scale in timer
- $scope.monitorSize = []; // array with montage sizes per monitor
+ // don't init here -will mess up scrolling
+ // $scope.monitorSize = []; // array with montage sizes per monitor
$scope.direction = []; // 1 = increase -1 = decrease
$scope.slider = {};