diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-12-04 16:24:24 -0500 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-12-04 16:24:24 -0500 |
| commit | 54e6e399767bf6fbbe3a5d56d81121b6b52b4d47 (patch) | |
| tree | 9bb14cdeac17e7fe65172e59bddbd523f71b61c7 /www/js/EventCtrl.js | |
| parent | 8812d6fd22b1710e019ba53e94723c76b97af6b7 (diff) | |
don't know why calcMsTimer was needed - I changed it simply to leninsecs/no-of-frames
Former-commit-id: 29d8070a88e9bdc18470093582b5cee082b208b8
Diffstat (limited to 'www/js/EventCtrl.js')
| -rw-r--r-- | www/js/EventCtrl.js | 14 |
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(); }; |
