diff --git a/static/js/app.js b/static/js/app.js index 112cefa..dc14c32 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -163,8 +163,8 @@ var behaviors = { }, timeupdate:function(event) { $(".time-holder .player-slider").slider('setValue', event.jPlayer.status.currentTime); - minutes = parseInt(event.jPlayer.status.currentTime/60) - seconds = parseInt(event.jPlayer.status.currentTime-(minutes*60)) + minutes = Math.floor(event.jPlayer.status.currentTime/60) + seconds = Math.floor(event.jPlayer.status.currentTime-(minutes*60)) $(".timeshow").html(minutes+":"+(seconds<10?"0":"")+seconds)