From 142b46cacf19bbe8c4deef8492a6392b80e4325d Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 13 Jul 2018 16:53:11 -0400 Subject: only do this for desktop - locks mobile #170 #389 #506 --- www/js/app.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'www/js') diff --git a/www/js/app.js b/www/js/app.js index 3745e186..eb9b48ca 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -116,9 +116,10 @@ angular.module('zmApp', [ // to take care of electron changing // window title and going out of sync - .controller('zmApp.appCtrl', function ($scope) { + // seems to get stuck in mobile + .controller('zmApp.appCtrl', function ($scope, $rootScope) { $scope.$on('$ionicView.afterEnter', function(ev, data) { - ev.stopPropagation(); + if ($rootScope.platformOS == 'desktop') ev.stopPropagation(); }); }) -- cgit v1.2.3