Skip to content

Commit

Permalink
Fix calculation of progress marker
Browse files Browse the repository at this point in the history
  • Loading branch information
Franz Liedke committed Nov 26, 2015
1 parent 2ae9d0e commit 1346ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion video-controlbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@
secondsToMinutes: function(number) {
number = number || 0;

var minutes = number / 60;
var minutes = Math.floor(number / 60);
var seconds = number % 60;

var placeholder = seconds < 10 ? '0' : '';
Expand Down

0 comments on commit 1346ff2

Please sign in to comment.