Added track title to music player

This commit is contained in:
gballan1 committed 2016-11-29 12:10:41 -05:00
1 parent 6f879004fc
commit 2737a86d9e
3 files changed
+5

No files matched your search

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