summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-10-17 13:51:34 -0400
committerPliable Pixels <pliablepixels@gmail.com>2016-10-17 13:51:34 -0400
commitbd1a81f2003b1303662de5d5b20278ef7d2cd72f (patch)
treefce29fa0666e10dccd1659d5f945ab5bc6aab15b /www/js
parentfb8e2ad86ec9e47e63ef6daaa66cf68d01d42cbb (diff)
scroll to top on orientation change as sometimes it can go out of screen
Former-commit-id: 02253383b97e482a3bda833663deddd268f4803c
Diffstat (limited to 'www/js')
-rw-r--r--www/js/MontageCtrl.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js
index aa218c90..4fcfe4d6 100644
--- a/www/js/MontageCtrl.js
+++ b/www/js/MontageCtrl.js
@@ -845,6 +845,7 @@ angular.module('zmApp.controllers')
$timeout(function () {
if (pckry) pckry.onresize();
});
+ $ionicScrollDelegate.$getByHandle("montage-delegate").scrollTop();
}
$scope.toggleSizeButtons = function () {