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 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'www/js/EventCtrl.js') 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(); }; -- cgit v1.2.3