summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
});
})