summaryrefslogtreecommitdiff
path: root/www/js/controllers.js
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-11-06 15:17:11 -0500
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-11-06 15:17:11 -0500
commit1a57bffce7252be73589f503db9ae8151ecc4f19 (patch)
tree89fa33ecbf2f2e7c6c7265b414eb0ec1653aac0b /www/js/controllers.js
parent5fb80a77f297883690c3eb0258a440ea1722fc07 (diff)
support for electron desktop apps
Diffstat (limited to 'www/js/controllers.js')
-rw-r--r--www/js/controllers.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/js/controllers.js b/www/js/controllers.js
index 80afa2fe..cbb8fa9e 100644
--- a/www/js/controllers.js
+++ b/www/js/controllers.js
@@ -20,5 +20,11 @@ angular.module('zmApp.controllers', ['ionic', 'ngCordova', 'ng-mfb','angularCirc
}, 100);
+
+ // Added for electron build to stop title propagation
+ $scope.$on('$ionicView.afterEnter', function(ev, data) {
+ ev.stopPropagation();
+ });
+
});