1
0
Fork 0

Minor player fixes

This commit is contained in:
magnolia-fan 2011-06-22 08:46:10 +04:00
parent c2042802d4
commit 7f9af6d863
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,7 @@ var Player = {
$('.playlist-tracks').sortable();
},
setTrack: function(id) {console.log(1);
setTrack: function(id) {
var $obj = $('#i'+ id);
var query = $obj.find('.title').text();
var length = $obj.find('.duration').text();
@ -77,6 +77,7 @@ var Player = {
reset: function() {
Audio.pause();
Audio.killListener();
$('#player .loaded, #player .played').width(0);
$('#player .now-playing').text('Select track');
}