summaryrefslogtreecommitdiff
path: root/www/js/EventCtrl.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/EventCtrl.js
parent5fb80a77f297883690c3eb0258a440ea1722fc07 (diff)
support for electron desktop apps
Diffstat (limited to 'www/js/EventCtrl.js')
-rw-r--r--www/js/EventCtrl.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js
index cbf0329e..a2b79638 100644
--- a/www/js/EventCtrl.js
+++ b/www/js/EventCtrl.js
@@ -122,10 +122,12 @@ angular.module('zmApp.controllers')
$scope.eventCommands = eventCommands;
$scope.loginData = ZMDataModel.getLogin();
$scope.playbackURL = $scope.loginData.url;
+ /* not needed for electron
if ($rootScope.platformOS == "desktop") {
$scope.playbackURL = zm.desktopUrl;
}
-
+ */
+
$scope.mycarousel = {
index: 0
};
@@ -1453,9 +1455,11 @@ angular.module('zmApp.controllers')
$scope.videoObject = event.Event.video;
$scope.playbackURL = $scope.loginData.url;
+
+ /* we don't need this for electron
if ($rootScope.platformOS == "desktop") {
$scope.playbackURL = zm.desktopUrl;
- }
+ } */
$scope.eventBasePath = event.Event.BasePath;
$scope.relativePath = event.Event.relativePath;