diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-07-13 16:53:11 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-07-13 16:53:11 -0400 |
| commit | 142b46cacf19bbe8c4deef8492a6392b80e4325d (patch) | |
| tree | 6437705d6ae203e1c98fcaed8fd4c7aa45573ed9 /www/js | |
| parent | cb7d974b1551cde22a461c7f3a2478a207f32c0f (diff) | |
only do this for desktop - locks mobile #170 #389 #506
Diffstat (limited to 'www/js')
| -rwxr-xr-x | www/js/app.js | 5 |
1 files changed, 3 insertions, 2 deletions
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(); }); }) |
