Fixed small error in music player track selection

This commit is contained in:
Gregory Ballantine 2016-11-28 16:12:30 -05:00
parent 192d0d024f
commit 5c637f242d

View File

@ -43,6 +43,9 @@ function changeAudioSources(trackElem) {
// loop through the audio player source elements
playerSources.each(function(source) {
// jQuery-ize the element
source = $(source);
if (source.attr('type') == 'audio/ogg') {
// OGG source file
source.attr('src', audioFilePath + '.ogg');