| branch | popcorn-port |
| changeset 103 | 2dfd89e91c3a |
| parent 99 | 912f100fecb0 |
| child 160 | d3f336807ec3 |
--- a/src/js/utils.js Thu Oct 20 10:23:54 2011 +0200 +++ b/src/js/utils.js Thu Oct 20 15:50:04 2011 +0200 @@ -24,7 +24,7 @@ } /* convert a time to a percentage in the media */ -IriSP.timeToPourcent = function(time,timetotal){ +IriSP.timeToPourcent = function(time, timetotal){ return (parseInt(Math.round(time/timetotal*100))); };