From faed9d0918f1ab4753c72674fbe0097b3a6c7c82 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sun, 23 Oct 2016 19:57:35 -0400 Subject: running as webserver Former-commit-id: f72ca891d089981217705a2baf5775a619c433d2 --- www/js/EventCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/js/EventCtrl.js') 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); -- cgit v1.2.3