summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-07-13 16:53:11 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-07-13 16:53:11 -0400
commit142b46cacf19bbe8c4deef8492a6392b80e4325d (patch)
tree6437705d6ae203e1c98fcaed8fd4c7aa45573ed9 /www
parentcb7d974b1551cde22a461c7f3a2478a207f32c0f (diff)
only do this for desktop - locks mobile #170 #389 #506
Diffstat (limited to 'www')
-rwxr-xr-xwww/js/app.js5
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();
});
})