diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-12-21 10:24:05 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-12-21 10:24:05 -0500 |
| commit | a18aa84429258413b0e7adcd6c211f243ebefcf2 (patch) | |
| tree | fc2d7611e0c02562c63e7f836b1da3cf6e023620 /www/js/MontageCtrl.js | |
| parent | 71860e6fda10e4772fad034ba036e1b66198a17c (diff) | |
#766 - wait for rotation to complete or width/height will be wrong
Diffstat (limited to 'www/js/MontageCtrl.js')
| -rw-r--r-- | www/js/MontageCtrl.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js index 5ec2ed41..f7944ebb 100644 --- a/www/js/MontageCtrl.js +++ b/www/js/MontageCtrl.js @@ -1444,11 +1444,7 @@ angular.module('zmApp.controllers') if ($scope.modal) $scope.modal.remove(); }); - function orientationChanged() { - - } - - + // remove a saved montage profile $scope.deleteMontageProfile = function () { var posArray; @@ -2023,8 +2019,7 @@ angular.module('zmApp.controllers') initPackery(); }, zm.packeryTimer); //console.log("**VIEW ** Montage Ctrl AFTER ENTER"); - window.addEventListener("resize", orientationChanged, false); - + if ($rootScope.platformOS != 'android') { document.addEventListener("pause", onPause, false); } else { |
