Skip to content

Commit

Permalink
Fixed small startup bug (showing wrong time before data loaded)
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Feb 6, 2014
1 parent 26bbc07 commit 353633e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/listen/listen.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,10 @@ angular.module('bawApp.listen', ['decipher.tags', 'ui.bootstrap.typeahead'])
};

$scope.jumpToMinuteAbsolute = function jumpToMinuteCalculation() {
if (!$scope.model.media) {
return undefined;
}

return moment($scope.model.media.datetime).add('m', $scope.jumpToMinute).format("HH:mm:ss");
};

Expand Down

0 comments on commit 353633e

Please sign in to comment.