Added track title to music player

This commit is contained in:
gballan1
2016-11-29 12:10:41 -05:00
parent 6f879004fc
commit 2737a86d9e
3 changed files with 5 additions and 0 deletions

View File

@ -139,6 +139,9 @@ function changeAudioSources(trackElem, autoplay) {
}
});
// change track title
$('#track-title').text(trackElem.data('title'));
// reload music player
player.load();