diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2020-10-26 14:29:27 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2020-10-26 14:29:27 -0400 |
| commit | 8f3a8a159a7fed6c49dd70050343a50f86d692a6 (patch) | |
| tree | feabf3ebf1dba027232b6adf44c3fd0f840d169b /www/js | |
| parent | 5e226147aa08cbeb4c2cbe71f2158ee0375bff9a (diff) | |
ios doesn't support screen orientation
Diffstat (limited to 'www/js')
| -rw-r--r-- | www/js/EventCtrl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index 56691f69..12a45e36 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -94,7 +94,7 @@ angular.module('zmApp.controllers') recomputeRowHeights(); $ionicScrollDelegate.resize(); - var orientation = (screen.orientation || {}).type || screen.mozOrientation || screen.msOrientation; + var orientation = (screen.orientation || {}).type || screen.mozOrientation || screen.msOrientation || window.orientation; NVR.debug("orientation: " + orientation); if (currOrientation != orientation) { //$scope.$apply(); |
