summaryrefslogtreecommitdiff
path: root/www/js/EventCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/EventCtrl.js')
-rw-r--r--www/js/EventCtrl.js14
1 files changed, 1 insertions, 13 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js
index fc0224aa..65190edc 100644
--- a/www/js/EventCtrl.js
+++ b/www/js/EventCtrl.js
@@ -571,19 +571,7 @@ angular.module('zmApp.controllers')
};
- //--------------------------------------------------------------------------
- // This is used to compute automatic playback speed for event playback
- // and scrub
- //--------------------------------------------------------------------------
-
- $scope.calcMsTimer = function (frames, len) {
- var myframes, mylen;
- myframes = parseFloat(frames);
- mylen = parseFloat(len);
-
- return (Math.round(1000 / (myframes / mylen)));
- };
-
+
$scope.openMenu = function () {
$ionicSideMenuDelegate.toggleLeft();
};