forked from 0x2620/pandora
improved formatting of durations in url
This commit is contained in:
parent
9eacf537fb
commit
5d7d22c960
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ pandora.URL = (function() {
|
||||||
return prev + (parseFloat(curr) || 0) * Math.pow(60, i);
|
return prev + (parseFloat(curr) || 0) * Math.pow(60, i);
|
||||||
}, 0);
|
}, 0);
|
||||||
i == 0 && pandora.UI.set(['videoPosition', item].join('|'), point);
|
i == 0 && pandora.UI.set(['videoPosition', item].join('|'), point);
|
||||||
return Ox.formatDuration(point);
|
return Ox.formatDuration(point, 2).replace(/\.00$/, '');
|
||||||
}).join('-');
|
}).join('-');
|
||||||
pandora.URL.replace(split.join('/'))
|
pandora.URL.replace(split.join('/'))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue