From 54e6e399767bf6fbbe3a5d56d81121b6b52b4d47 Mon Sep 17 00:00:00 2001 From: Arjun Roychowdhury Date: Fri, 4 Dec 2015 16:24:24 -0500 Subject: don't know why calcMsTimer was needed - I changed it simply to leninsecs/no-of-frames Former-commit-id: 29d8070a88e9bdc18470093582b5cee082b208b8 --- www/js/EventCtrl.js | 14 +------------- www/templates/events-modal.html | 2 +- www/templates/events.html | 4 +++- 3 files changed, 5 insertions(+), 15 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(); }; diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html index ea0a6c4c..1d785f72 100644 --- a/www/templates/events-modal.html +++ b/www/templates/events-modal.html @@ -9,7 +9,7 @@
-