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 f5719226..7b471457 100644
--- a/www/js/EventCtrl.js
+++ b/www/js/EventCtrl.js
@@ -101,7 +101,7 @@ angular.module('zmApp.controllers')
// note that there may be a delay as its a callback - so might involve
// a UI jiggle
- if ($rootScope.platformOS != "desktop")
+ if (window.cordova)
MobileAccessibility.getTextZoom(getTextZoomCallback);
eventsListDetailsHeight = parseInt(zm.eventsListDetailsHeight * $rootScope.textScaleFactor);