diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2016-11-15 15:59:15 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2016-11-15 15:59:15 -0500 |
| commit | 6bd5f2a707ccf5aec245b7ba56fbbfb46ffd2994 (patch) | |
| tree | 45917ce9683b3e070e0d0eabc8f63f0c137a2f72 /www/js/TimelineCtrl.js | |
| parent | 114194a7c094c15ed7e18f9c72606c61140830c5 (diff) | |
addresses #371
Diffstat (limited to 'www/js/TimelineCtrl.js')
| -rw-r--r-- | www/js/TimelineCtrl.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/www/js/TimelineCtrl.js b/www/js/TimelineCtrl.js index 2e0c30b8..0f67b085 100644 --- a/www/js/TimelineCtrl.js +++ b/www/js/TimelineCtrl.js @@ -96,7 +96,12 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla }); } - + // helps to navigate to current time quickly + // after a night of heavy navigation + $scope.gotoNow = function() + { + timeline.moveTo(timeline.getCurrentTime()); + }; $scope.move = function(percentage) { move(percentage); |
