summaryrefslogtreecommitdiff
path: root/www/js/EventCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/EventCtrl.js')
-rw-r--r--www/js/EventCtrl.js2
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();